mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Reject negative parameter steps before expanding ranges
This commit is contained in:
1 parent
0f7ae35626
commit
31ae72b2b7
5 files changed
+54
-2
No files matched your search
+1
-1
@@ -182,7 +182,7 @@ fn build_command() -> Command {
|
||||
.requires("parameter-scan")
|
||||
.help(
|
||||
"This argument requires --parameter-scan to be specified as well. \
|
||||
Traverse the range MIN..MAX in steps of DELTA.\n\n \
|
||||
Traverse the range MIN..MAX in steps of DELTA, which must be positive.\n\n \
|
||||
Example: hyperfine -P delay 0.3 0.7 -D 0.2 'sleep {delay}'\n\n\
|
||||
This performs benchmarks for 'sleep 0.3', 'sleep 0.5' and 'sleep 0.7'.",
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user