From c73636c478ca4aed91a724826d740d6e9ff24e5f Mon Sep 17 00:00:00 2001 From: Piyush Rungta Date: Sun, 1 Sep 2019 16:04:21 +0530 Subject: [PATCH] Provide short option for --parameter-step-size Rename STEP to DELTA --- src/hyperfine/app.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hyperfine/app.rs b/src/hyperfine/app.rs index d1b4fc6..0aa4c4b 100644 --- a/src/hyperfine/app.rs +++ b/src/hyperfine/app.rs @@ -110,12 +110,13 @@ fn build_app() -> App<'static, 'static> { .arg( Arg::with_name("parameter-step-size") .long("parameter-step-size") + .short("D") .takes_value(true) - .value_names(&["STEP"]) + .value_names(&["DELTA"]) .requires("parameter-scan") .help( "This argument requires --parameter-scan to be sepcified as well. \ - Traverse the range MIN..MAX in steps of STEP.", + Traverse the range MIN..MAX in steps of DELTA.", ), ) .arg(