feat: Adding threads flag

Thanks: Dj-Codeman
This commit is contained in:
andy.boot
2024-05-02 23:04:01 +01:00
parent 2c34c38b29
commit 5b87260467
10 changed files with 77 additions and 26 deletions
+8
View File
@@ -16,6 +16,14 @@ pub fn build_cli() -> Command {
.help("Depth to show")
.num_args(1)
)
.arg(
Arg::new("threads")
.short('T')
.long("threads")
.value_parser(value_parser!(u8))
.help("Number of threads to use")
.num_args(1)
)
.arg(
Arg::new("number_of_lines")
.short('n')