From bfb7a15d67c581203410677dfa16583516eafaf6 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sun, 20 Feb 2022 20:20:47 +0100 Subject: [PATCH] Improve error message --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 51958da..19bec56 100644 --- a/src/error.rs +++ b/src/error.rs @@ -15,7 +15,7 @@ pub enum ParameterScanError { TooLarge, #[error("Zero is not a valid parameter step")] 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 ' parameter")] StepRequired, #[error("'--command-name' has been specified {0} times. It has to appear exactly once, or exactly {1} times (number of benchmarks)")] UnexpectedCommandNameCount(usize, usize),