mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
commit
033af01283
1 changed files with 4 additions and 0 deletions
|
@ -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" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue