diff options
author | bors-servo <release+servo@mozilla.com> | 2013-06-24 14:24:26 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-06-24 14:24:26 -0700 |
commit | 033af01283234dd2cc423f2018d0d348849f4720 (patch) | |
tree | 0f5fbaa19afb379737a0277d596a05872452e8f1 | |
parent | 6df102a117596922055aa3c9d47ffe8c77daf6a0 (diff) | |
parent | 5e096fa82a4adccb0863f4ff38b01b5f6952d157 (diff) | |
download | servo-033af01283234dd2cc423f2018d0d348849f4720.tar.gz servo-033af01283234dd2cc423f2018d0d348849f4720.zip |
auto merge of #535 : saneyuki/servo/o-opt, r=metajack
I think that we should show the error message until we restore the feature outputting the rendering result to a file.
-rw-r--r-- | src/components/gfx/opts.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/gfx/opts.rs b/src/components/gfx/opts.rs index 07c38f9a1bf..329dffa03b4 100644 --- a/src/components/gfx/opts.rs +++ b/src/components/gfx/opts.rs @@ -45,6 +45,10 @@ pub fn from_cmdline_args(args: &[~str]) -> Opts { copy opt_match.free }; + if getopts::opt_present(&opt_match, ~"o") { + fail!(~"servo cannot treat 'o' option now.") + } + let render_backend = match getopts::opt_maybe_str(&opt_match, ~"r") { Some(backend_str) => { if backend_str == ~"direct2d" { |