mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
Improve --fixed-strings help text, closes #627
This commit is contained in:
parent
ecfd8cea41
commit
17bd256ae6
3
doc/fd.1
vendored
3
doc/fd.1
vendored
|
@ -60,7 +60,8 @@ Perform a glob-based search instead of a regular expression search.
|
|||
Perform a regular-expression based search (default). This can be used to override --glob.
|
||||
.TP
|
||||
.B \-F, \-\-fixed\-strings
|
||||
Treat the pattern as a literal string instead of a regular expression.
|
||||
Treat the pattern as a literal string instead of a regular expression. Note that this also
|
||||
performs substring comparison. If you want to match on an exact filename, consider using '\-\-glob'.
|
||||
.TP
|
||||
.B \-a, \-\-absolute\-path
|
||||
Shows the full path starting from the root as opposed to relative paths.
|
||||
|
|
|
@ -117,7 +117,9 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.overrides_with("fixed-strings")
|
||||
.hidden_short_help(true)
|
||||
.long_help(
|
||||
"Treat the pattern as a literal string instead of a regular expression.",
|
||||
"Treat the pattern as a literal string instead of a regular expression. Note \
|
||||
that this also performs substring comparison. If you want to match on an \
|
||||
exact filename, consider using '--glob'.",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in a new issue