Use allow_hyphen_values = true for --and <pattern>

This commit is contained in:
David Peter 2022-11-21 21:02:36 +01:00
parent 781bd4bcf2
commit 36e60223eb
1 changed files with 2 additions and 1 deletions

View File

@ -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<Vec<String>>,