]> git.lizzy.rs Git - rust.git/blobdiff - clippy_dev/src/main.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / clippy_dev / src / main.rs
index 5dbd46935a59a88732bcfae41ed9d76914f6a389..505d465760c57873b1c840ba769276e86b78f00e 100644 (file)
@@ -69,6 +69,14 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
                 .value_name("CRATES-SOURCES-TOML-PATH")
                 .long("crates-toml")
                 .help("set the path for a crates.toml where lintcheck should read the sources from"),
+        )
+        .arg(
+            Arg::with_name("threads")
+                .takes_value(true)
+                .value_name("N")
+                .short("j")
+                .long("jobs")
+                .help("number of threads to use, 0 automatic choice"),
         );
 
     let app = App::new("Clippy developer tooling")