Treat 'native-threading' option correctly.

This commit is contained in:
Tetsuharu OHZEKI 2014-06-25 17:08:10 +09:00
parent c983b2b97e
commit 647efbbb91

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") || opt_match.opt_present("native-threading");
Some(Opts {
urls: urls,