From 40c21b9cb3a331f74dd810132a512f28abef86fe Mon Sep 17 00:00:00 2001 From: Jon Moroney Date: Mon, 12 Feb 2018 10:31:30 +0100 Subject: [PATCH] Prep for thread max argument --- src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 10070c1..8fdcdb3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -74,12 +74,12 @@ fn main() { .max_values(1) .possible_values(&["K", "M", "G"]) .help("Sets the display blocksize to Kilobytes, Megabytes or Gigabytes. Default is Bytes.")) - // .arg(Arg::with_name("Hidden") - // .short("h") - // .long("hidden") - // .possible_values(&["true", "false"]) - // .case_insensitive(true) - // .help("Searches hidden folders. NOT YET IMPLEMENTED. CURRENTLY TRUE.")) + // .arg(Arg::with_name("Max threads") + // .short("t") + // .long("threads") + // .default_value(10) + // .possible_values(&[2..100]) + // .help("Set the maximum number of threads.")) .arg(Arg::with_name("Print") .short("p") .long("print")