on master help sign in
Allow leading minus in '--terminal-width <value>'

closes #611

commit76c615a30416c4a0bea07fc7df4f5f1e88ddf6e0 authorsharkdp <davidpeter@web.de> dateWed 24 Jul 2019, 21:44 (7 years ago) parente8c0467
1 file changed+1
src/clap_app.rs+1
src/clap_app.rs+1
@@ -332,6 +332,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
332332 .takes_value(true)
333333 .value_name("width")
334334 .hidden_short_help(true)
335+ .allow_hyphen_values(true)
335336 .validator(
336337 |t| {
337338 let is_offset = t.starts_with('+') || t.starts_with('-');