Add --changes-only to manpage and completions
This commit is contained in:
parent
ecd7d1c7e3
commit
1da3a8d26c
|
@ -19,6 +19,7 @@ args=(
|
||||||
'(-r --restart)'{-r,--restart}'[Restart the process if it''s still running]'
|
'(-r --restart)'{-r,--restart}'[Restart the process if it''s still running]'
|
||||||
'(-V --version)'{-V,--version}'[Prints version information]'
|
'(-V --version)'{-V,--version}'[Prints version information]'
|
||||||
'(-v --verbose)'{-v,--verbose}'[Print debugging messages to stderr]'
|
'(-v --verbose)'{-v,--verbose}'[Print debugging messages to stderr]'
|
||||||
|
'--changes-only[Print changed paths to stderr for pattern debugging]'
|
||||||
'(-d --debounce)'{-d+,--debounce=}'[Set the timeout between detected change and command execution, defaults to 500ms]:milliseconds'
|
'(-d --debounce)'{-d+,--debounce=}'[Set the timeout between detected change and command execution, defaults to 500ms]:milliseconds'
|
||||||
'(-e --exts)'{-e+,--exts=}'[Comma-separated list of file extensions to watch (js,css,html)]:extensions'
|
'(-e --exts)'{-e+,--exts=}'[Comma-separated list of file extensions to watch (js,css,html)]:extensions'
|
||||||
'(-f --filter)'{-f+,--filter=}'[Ignore all modifications except those matching the pattern]:pattern'
|
'(-f --filter)'{-f+,--filter=}'[Ignore all modifications except those matching the pattern]:pattern'
|
||||||
|
|
|
@ -3,7 +3,7 @@ watchexec(1) -- execute commands when watched files change
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
|
|
||||||
watchexec [`--exts` | `-e` <extensions>]... [`--filter` | `-f` <pattern>]... [`--ignore` | `-i` <pattern>]... [`--watch` | `-w` <path>]... [`--restart` | `-r`] [`--clear` | `-c`] [`--postpone` | `-p`] [`--force-poll` <interval>] [`--debounce` | `-d` <interval>] [`--no-vcs-ignore`] [`--no-default-ignore`] [`--verbose` | `-v`] [`--version` | `-V`] [--] <command> [<argument>...]
|
watchexec [`--exts` | `-e` <extensions>]... [`--filter` | `-f` <pattern>]... [`--ignore` | `-i` <pattern>]... [`--watch` | `-w` <path>]... [`--restart` | `-r`] [`--clear` | `-c`] [`--postpone` | `-p`] [`--force-poll` <interval>] [`--debounce` | `-d` <interval>] [`--no-vcs-ignore`] [`--no-default-ignore`] [`--verbose` | `-v`] [`--changes-only`] [`--version` | `-V`] [--] <command> [<argument>...]
|
||||||
|
|
||||||
## DESCRIPTION
|
## DESCRIPTION
|
||||||
|
|
||||||
|
@ -62,7 +62,10 @@ Skip loading of version control system (VCS) ignore files. By default, watchexec
|
||||||
Skip default ignore statements. By default, watchexec ignores common temporary files for you, for example `*.swp`, `*.pyc`, and `.DS_Store`.
|
Skip default ignore statements. By default, watchexec ignores common temporary files for you, for example `*.swp`, `*.pyc`, and `.DS_Store`.
|
||||||
|
|
||||||
* `-v`, `--verbose`:
|
* `-v`, `--verbose`:
|
||||||
Prints diagnostic messages to STDERR
|
Prints diagnostic messages to STDERR.
|
||||||
|
|
||||||
|
* `--changes-only`:
|
||||||
|
Prints the paths that have changed as diagnostics to STDERR, but not everything else that `--verbose` prints.
|
||||||
|
|
||||||
* `-V`, `--version`:
|
* `-V`, `--version`:
|
||||||
Print the version of watchexec.
|
Print the version of watchexec.
|
||||||
|
|
Loading…
Reference in New Issue