diff --git a/doc/fd.1 b/doc/fd.1 index 3579d90..598ae27 100644 --- a/doc/fd.1 +++ b/doc/fd.1 @@ -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. diff --git a/src/app.rs b/src/app.rs index 6715598..d759add 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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(