Merge pull request #2715 from saneyuki/fix_opt

Treat 'native-threading' option correctly.
This commit is contained in:
Lars Bergstrom 2014-06-25 14:28:18 -05:00
commit e78603f64c

View file

@ -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,