From d677901341de287c32d41eed009718d29a3ea784 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 24 Mar 2018 20:23:22 +0100 Subject: [PATCH] Allow for negative numbers --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index c157fdb..4632d7e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,6 +171,7 @@ fn main() { string '{VAR}' in each command by the current parameter value.", ) .takes_value(true) + .allow_hyphen_values(true) .value_names(&["VAR", "MIN", "MAX"]), ) .arg(