Hide --watch-when-idle from help
This commit is contained in:
parent
70e8a4dff2
commit
7d492fa677
|
@ -130,6 +130,7 @@ pub fn get_args() -> Result<ArgMatches<'static>> {
|
||||||
.arg(Arg::with_name("watch-when-idle")
|
.arg(Arg::with_name("watch-when-idle")
|
||||||
.help("Deprecated alias for --on-busy-update=do-nothing, which will become the default in 2.0.")
|
.help("Deprecated alias for --on-busy-update=do-nothing, which will become the default in 2.0.")
|
||||||
.short("W")
|
.short("W")
|
||||||
|
.hidden(true)
|
||||||
.long("watch-when-idle"))
|
.long("watch-when-idle"))
|
||||||
.arg(Arg::with_name("notif") // TODO
|
.arg(Arg::with_name("notif") // TODO
|
||||||
.help("Send a desktop notification when watchexec notices a change (experimental, behaviour may change)")
|
.help("Send a desktop notification when watchexec notices a change (experimental, behaviour may change)")
|
||||||
|
|
|
@ -26,7 +26,6 @@ FLAGS:
|
||||||
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
|
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
|
||||||
-V, --version Prints version information
|
-V, --version Prints version information
|
||||||
-v, --verbose Print debugging messages (-v, -vv, -vvv; use -vvv for bug reports)
|
-v, --verbose Print debugging messages (-v, -vv, -vvv; use -vvv for bug reports)
|
||||||
-W, --watch-when-idle Deprecated alias for --on-busy-update=do-nothing, which will become the default in 2.0.
|
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -27,7 +27,6 @@ FLAGS:
|
||||||
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
|
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
|
||||||
-V, --version Prints version information
|
-V, --version Prints version information
|
||||||
-v, --verbose Print debugging messages (-v, -vv, -vvv; use -vvv for bug reports)
|
-v, --verbose Print debugging messages (-v, -vv, -vvv; use -vvv for bug reports)
|
||||||
-W, --watch-when-idle Deprecated alias for --on-busy-update=do-nothing, which will become the default in 2.0.
|
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue