Usage menu update (#302)
* Usage menu update * usage menuの微調整 * fixed options #302 - changed show-deprecated to enable-deprecated-rules - changed csv-timeline to output - change show-noisyalerts to enable-noisy-rules * fixed option #302 - changed starttimeline to start-timeline * fixed option #302 - changed q to quiet option * fixed options #302 - changed endtimeline to end-timeline option - changed threadnum to thread-number option Co-authored-by: DustInDark <nextsasasa@gmail.com>
This commit is contained in:
@@ -184,7 +184,7 @@ pub fn get_thread_num() -> usize {
|
||||
let conf = configs::CONFIG.read().unwrap();
|
||||
let threadnum = &conf
|
||||
.args
|
||||
.value_of("threadnum")
|
||||
.value_of("thread-number")
|
||||
.unwrap_or(def_thread_num_str.as_str());
|
||||
return threadnum.parse::<usize>().unwrap().clone();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user