Skip to content
Myr

Improve --fixed-strings help text, closes #627

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

authored by sharkdp · committed by sharkdp · parent ecfd8ce · Browse files · 2 files+5 added−2 removed
This commit

State

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

Diff stats

2 files+5 added−2 removed

  • other:+5 added−2 removed

2 files+5 added−2 removed

modified:doc/fd.1+2 added-1 removed
58 unmodified lines
59.B \-\-regex60Perform a regular-expression based search (default). This can be used to override --glob.61.TP62.B \-F, \-\-fixed\-strings63Treat the pattern as a literal string instead of a regular expression.63Treat the pattern as a literal string instead of a regular expression. Note that this also64performs substring comparison. If you want to match on an exact filename, consider using '\-\-glob'.65.TP66.B \-a, \-\-absolute\-path67Shows the full path starting from the root as opposed to relative paths.68.TP
265 unmodified lines
modified:src/app.rs+3 added-1 removed
115 unmodified lines
116 .alias("literal")117 .overrides_with("fixed-strings")118 .hidden_short_help(true)119 .long_help(120 "Treat the pattern as a literal string instead of a regular expression.",120 "Treat the pattern as a literal string instead of a regular expression. Note \121 that this also performs substring comparison. If you want to match on an \122 exact filename, consider using '--glob'.",123 ),124 )125 .arg(126 Arg::with_name("absolute-path")
473 unmodified lines