Revise --no-ignore and --no-vcs-ignore help text for clarity and conciseness

This commit is contained in:
Félix Saparelli 2021-12-29 19:10:08 +13:00
parent b300be081f
commit be4b184cd0
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
3 changed files with 6 additions and 6 deletions

View File

@ -96,11 +96,11 @@ pub fn get_args(tagged_filterer: bool) -> Result<ArgMatches<'static>> {
.alias("changes-only")) // --changes-only is deprecated (remove at v2)
.arg(Arg::with_name("no-vcs-ignore") // TODO
.help_heading(Some(OPTSET_FILTERING))
.help("Skip auto-loading of .gitignore files for filtering")
.help("Skip auto-loading of VCS (Git, etc) ignore files")
.long("no-vcs-ignore"))
.arg(Arg::with_name("no-ignore") // TODO
.help_heading(Some(OPTSET_FILTERING))
.help("Skip auto-loading of ignore files (.gitignore, .ignore, etc.) for filtering")
.help("Skip auto-loading of project ignore files (.gitignore, .ignore, etc)")
.long("no-ignore"))
.arg(Arg::with_name("no-default-ignore") // TODO
.help_heading(Some(OPTSET_FILTERING))

View File

@ -15,11 +15,11 @@ FLAGS:
--no-default-ignore Skip auto-ignoring of commonly ignored globs
--no-environment Do not set WATCHEXEC_*_PATH environment variables for the command
--no-global-ignore Skip auto-loading of global or environment-wide ignore files
--no-ignore Skip auto-loading of ignore files (.gitignore, .ignore, etc.) for filtering
--no-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc.)
--no-meta Ignore metadata changes
--no-process-group Do not use a process group when running the command
-n, --no-shell Do not wrap command in a shell. Deprecated: use --shell=none instead.
--no-vcs-ignore Skip auto-loading of .gitignore files for filtering
--no-vcs-ignore Skip auto-loading of VCS (Git, etc) ignore files
-N, --notify Send a desktop notification when the command ends
-p, --postpone Wait until first change to execute command
--print-events Print events that trigger actions

View File

@ -15,11 +15,11 @@ FLAGS:
--no-default-ignore Skip auto-ignoring of commonly ignored globs
--no-environment Do not set WATCHEXEC_*_PATH environment variables for the command
--no-global-ignore Skip auto-loading of global or environment-wide ignore files
--no-ignore Skip auto-loading of ignore files (.gitignore, .ignore, etc.) for filtering
--no-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc.)
--no-meta Ignore metadata changes
--no-process-group Do not use a process group when running the command
-n, --no-shell Do not wrap command in a shell. Deprecated: use --shell=none instead.
--no-vcs-ignore Skip auto-loading of .gitignore files for filtering
--no-vcs-ignore Skip auto-loading of VCS (Git, etc) ignore files
-N, --notify Send a desktop notification when the command ends
-p, --postpone Wait until first change to execute command
--print-events Print events that trigger actions