Add new options to help
This commit is contained in:
parent
3523925c1e
commit
396424112e
|
@ -2,7 +2,6 @@
|
||||||
source: cli/tests/help.rs
|
source: cli/tests/help.rs
|
||||||
assertion_line: 16
|
assertion_line: 16
|
||||||
expression: "String::from_utf8(output.stdout).unwrap()"
|
expression: "String::from_utf8(output.stdout).unwrap()"
|
||||||
|
|
||||||
---
|
---
|
||||||
watchexec 1.18.12
|
watchexec 1.18.12
|
||||||
Execute commands when watched files change
|
Execute commands when watched files change
|
||||||
|
@ -29,6 +28,8 @@ FLAGS:
|
||||||
-v, --verbose Print debugging messages (-v, -vv, -vvv, -vvvv; use -vvv for bug reports)
|
-v, --verbose Print debugging messages (-v, -vv, -vvv, -vvvv; use -vvv for bug reports)
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
|
-E, --env <name=value>... Add an environment variable to the command
|
||||||
|
--workdir <path> Change the working directory of the command
|
||||||
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to
|
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to
|
||||||
50ms
|
50ms
|
||||||
-e, --exts <extensions> Comma-separated list of file extensions to watch (e.g. js,css,html)
|
-e, --exts <extensions> Comma-separated list of file extensions to watch (e.g. js,css,html)
|
||||||
|
|
|
@ -28,8 +28,10 @@ FLAGS:
|
||||||
-v, --verbose Print debugging messages (-v, -vv, -vvv, -vvvv; use -vvv for bug reports)
|
-v, --verbose Print debugging messages (-v, -vv, -vvv, -vvvv; use -vvv for bug reports)
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
|
-E, --env <name=value>... Add an environment variable to the command
|
||||||
|
--workdir <path> Change the working directory of the command
|
||||||
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to
|
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to
|
||||||
100ms
|
50ms
|
||||||
-e, --exts <extensions> Comma-separated list of file extensions to watch (e.g. js,css,html)
|
-e, --exts <extensions> Comma-separated list of file extensions to watch (e.g. js,css,html)
|
||||||
-f, --filter <pattern>... Ignore all modifications except those matching the pattern
|
-f, --filter <pattern>... Ignore all modifications except those matching the pattern
|
||||||
-i, --ignore <pattern>... Ignore modifications to paths matching the pattern
|
-i, --ignore <pattern>... Ignore modifications to paths matching the pattern
|
||||||
|
|
Loading…
Reference in New Issue