mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
parent
b8b2c2ca70
commit
df8977b37e
@ -126,7 +126,7 @@ pub fn get_args(tagged_filterer: bool) -> Result<ArgMatches<'static>> {
|
|||||||
.help(if cfg!(windows) {
|
.help(if cfg!(windows) {
|
||||||
"Use a different shell, or `none`. Try --shell=powershell, which will become the default in 2.0."
|
"Use a different shell, or `none`. Try --shell=powershell, which will become the default in 2.0."
|
||||||
} else {
|
} else {
|
||||||
"Use a different shell, or `none`. E.g. --shell=bash"
|
"Use a different shell, or `none`. Defaults to `sh` (until 2.0, where that will change to `$SHELL`). E.g. --shell=bash"
|
||||||
})
|
})
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.long("shell"))
|
.long("shell"))
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
source: cli/tests/help.rs
|
source: cli/tests/help.rs
|
||||||
|
assertion_line: 16
|
||||||
expression: "String::from_utf8(output.stdout).unwrap()"
|
expression: "String::from_utf8(output.stdout).unwrap()"
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -29,7 +30,7 @@ FLAGS:
|
|||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-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
|
||||||
@ -38,7 +39,8 @@ OPTIONS:
|
|||||||
[possible values: do-nothing, queue, restart, signal]
|
[possible values: do-nothing, queue, restart, signal]
|
||||||
-w, --watch <path>... Watch a specific file or directory
|
-w, --watch <path>... Watch a specific file or directory
|
||||||
--force-poll <interval> Force polling mode (interval in milliseconds)
|
--force-poll <interval> Force polling mode (interval in milliseconds)
|
||||||
--shell <shell> Use a different shell, or `none`. E.g. --shell=bash
|
--shell <shell> Use a different shell, or `none`. Defaults to `sh` (until 2.0, where that
|
||||||
|
will change to `$SHELL`). E.g. --shell=bash
|
||||||
-s, --signal <signal> Specify the signal to send when using --on-busy-update=signal [default:
|
-s, --signal <signal> Specify the signal to send when using --on-busy-update=signal [default:
|
||||||
SIGTERM]
|
SIGTERM]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user