mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-19 02:10:34 +01:00
Update --help text regarding pattern, closes #684
This commit is contained in:
parent
d2659de782
commit
ecfd8cea41
1 changed files with 6 additions and 2 deletions
|
@ -513,8 +513,12 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
)
|
||||
.arg(
|
||||
Arg::with_name("pattern").help(
|
||||
"the search pattern - a regular expression unless '--glob' is used (optional)",
|
||||
),
|
||||
"the search pattern (a regular expression, unless '--glob' is used; optional)",
|
||||
).long_help(
|
||||
"the search pattern which is either a regular expression (default) or a glob \
|
||||
pattern (if --glob is used). If no pattern has been specified, every entry \
|
||||
is considered a match. If your pattern starts with a dash (-), make sure to \
|
||||
pass '--' first, or it will be considered as a flag (fd -- '-foo').")
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("path-separator")
|
||||
|
|
Loading…
Reference in a new issue