From 36e60223ebd2904f277719f281eefef005afa2c7 Mon Sep 17 00:00:00 2001 From: David Peter Date: Mon, 21 Nov 2022 21:02:36 +0100 Subject: [PATCH] Use allow_hyphen_values = true for --and --- src/cli.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index f6e1280..84abe9d 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -151,7 +151,8 @@ pub struct Opts { long_help = "Add additional required search patterns, all of which must be matched. Multiple \ additional patterns can be specified. The patterns are regular expressions, \ unless '--glob' or '--fixed-strings' is used.", - hide_short_help = true + hide_short_help = true, + allow_hyphen_values = true )] pub exprs: Option>,