mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Merge pull request #2715 from saneyuki/fix_opt
Treat 'native-threading' option correctly.
This commit is contained in:
commit
e78603f64c
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ pub fn from_cmdline_args(args: &[String]) -> Option<Opts> {
|
|||
None => cmp::max(rt::default_sched_threads() * 3 / 4, 1),
|
||||
};
|
||||
|
||||
let native_threading = opt_match.opt_present("h") || opt_match.opt_present("help");
|
||||
let native_threading = opt_match.opt_present("n");
|
||||
|
||||
Some(Opts {
|
||||
urls: urls,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue