mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-11-26 13:07:05 +03:00
Improve error message
This commit is contained in:
parent
701a38323d
commit
d3c7c7974a
@ -15,7 +15,7 @@ pub enum ParameterScanError {
|
|||||||
TooLarge,
|
TooLarge,
|
||||||
#[error("Zero is not a valid parameter step")]
|
#[error("Zero is not a valid parameter step")]
|
||||||
ZeroStep,
|
ZeroStep,
|
||||||
#[error("A step size is required when the range bounds are floating point numbers. The step size can be specified with the '--parameter-step-size' parameter")]
|
#[error("A step size is required when the range bounds are floating point numbers. The step size can be specified with the '-D/--parameter-step-size <DELTA>' parameter")]
|
||||||
StepRequired,
|
StepRequired,
|
||||||
#[error("'--command-name' has been specified {0} times. It has to appear exactly once, or exactly {1} times (number of benchmarks)")]
|
#[error("'--command-name' has been specified {0} times. It has to appear exactly once, or exactly {1} times (number of benchmarks)")]
|
||||||
UnexpectedCommandNameCount(usize, usize),
|
UnexpectedCommandNameCount(usize, usize),
|
||||||
|
Loading…
Reference in New Issue
Block a user