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.
|
Exclude files/directories that match the given glob pattern.
|
||||||
This overrides any other ignore logic.
|
This overrides any other ignore logic.
|
||||||
Multiple exclude patterns can be specified.
|
Multiple exclude patterns can be specified.
|
||||||
|
Examples:
|
||||||
|
\-\-exclude '*.pyc'
|
||||||
|
\-\-exclude node_modules
|
||||||
.TP
|
.TP
|
||||||
.BI "\-\-ignore-file " path
|
.BI "\-\-ignore-file " path
|
||||||
Add a custom ignore-file in '.gitignore' format.
|
Add a custom ignore-file in '.gitignore' format.
|
||||||
|
|
|
@ -340,7 +340,10 @@ pub fn build_app() -> App<'static, 'static> {
|
||||||
.long_help(
|
.long_help(
|
||||||
"Exclude files/directories that match the given glob pattern. This \
|
"Exclude files/directories that match the given glob pattern. This \
|
||||||
overrides any other ignore logic. Multiple exclude patterns can be \
|
overrides any other ignore logic. Multiple exclude patterns can be \
|
||||||
specified.",
|
specified.\n\n\
|
||||||
|
Examples:\n \
|
||||||
|
--exclude '*.pyc'\n \
|
||||||
|
--exclude node_modules",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
|
Loading…
Reference in a new issue