mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
Improve --exclude help text, closes #661
This commit is contained in:
parent
296300ce46
commit
d205a7ff9e
3
doc/fd.1
vendored
3
doc/fd.1
vendored
|
@ -150,6 +150,9 @@ This option can be used repeatedly to allow for multiple possible file extension
|
|||
Exclude files/directories that match the given glob pattern.
|
||||
This overrides any other ignore logic.
|
||||
Multiple exclude patterns can be specified.
|
||||
Examples:
|
||||
\-\-exclude '*.pyc'
|
||||
\-\-exclude node_modules
|
||||
.TP
|
||||
.BI "\-\-ignore-file " path
|
||||
Add a custom ignore-file in '.gitignore' format.
|
||||
|
|
|
@ -340,7 +340,10 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.long_help(
|
||||
"Exclude files/directories that match the given glob pattern. This \
|
||||
overrides any other ignore logic. Multiple exclude patterns can be \
|
||||
specified.",
|
||||
specified.\n\n\
|
||||
Examples:\n \
|
||||
--exclude '*.pyc'\n \
|
||||
--exclude node_modules",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in a new issue