mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
add clap deprecation notices
This commit is contained in:
1 parent
83e214e860
commit
5fcb7166a9
4 files changed
+44
-19
No files matched your search
+1
-1
@@ -122,7 +122,7 @@ impl<'a> Commands<'a> {
|
||||
let command_strings = matches.values_of("command").unwrap();
|
||||
|
||||
if let Some(args) = matches.values_of("parameter-scan") {
|
||||
let step_size = matches.value_of("parameter-step-size");
|
||||
let step_size = matches.get_one::<String>("parameter-step-size").map(|s| s.as_str());
|
||||
Ok(Self(Self::get_parameter_scan_commands(
|
||||
command_names,
|
||||
command_strings,
|
||||
|
||||
Reference in new issue
Block a user