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.
This commit is contained in:
bors-servo 2013-06-24 14:24:26 -07:00
commit 033af01283

View file

@ -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" {