Skip to content
Myr

Move --and option up to other patter-related options

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent e147ba9 · Browse files · 1 file+11 added−11 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−11 removed

  • other:+11 added−11 removed

1 file+11 added−11 removed

modified:src/cli.rs+11 added-11 removed
142 unmodified lines
143 exact filename, consider using '--glob'."144 )]145 pub fixed_strings: bool,146147 /// Additional search patterns that need to be matched148 #[arg(149 long = "and",150 value_name = "pattern",151 long_help = "Add additional required search patterns, all of which must be matched. Multiple \152 additional patterns can be specified. The patterns are regular expressions, \153 unless '--glob' or '--fixed-strings' is used.",154 hide_short_help = true155 )]156 pub exprs: Option<Vec<String>>,157158 /// Show absolute instead of relative paths159 #[arg(160 long,161 short = 'a',
348 unmodified lines
510 pass '--' first, or it will be considered as a flag (fd -- '-foo')."511 )]512 pub pattern: String,513503 /// Additional search patterns that need to be matched504 #[arg(505 long = "and",506 value_name = "pattern",507 long_help = "Add additional required search patterns, all of which must be matched. Multiple \508 additional patterns can be specified. The patterns are regular expressions, \509 unless '--glob' or '--fixed-strings' is used.",510 hide_short_help = true511 )]512 pub exprs: Option<Vec<String>>,513514 /// Set path separator when printing file paths515 #[arg(516 long,517 value_name = "separator",
284 unmodified lines