Hide --watch-when-idle from help

This commit is contained in:
Félix Saparelli 2021-08-24 22:56:15 +12:00
parent 70e8a4dff2
commit 7d492fa677
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
3 changed files with 1 additions and 2 deletions

View File

@ -130,6 +130,7 @@ pub fn get_args() -> Result<ArgMatches<'static>> {
.arg(Arg::with_name("watch-when-idle")
.help("Deprecated alias for --on-busy-update=do-nothing, which will become the default in 2.0.")
.short("W")
.hidden(true)
.long("watch-when-idle"))
.arg(Arg::with_name("notif") // TODO
.help("Send a desktop notification when watchexec notices a change (experimental, behaviour may change)")

View File

@ -26,7 +26,6 @@ FLAGS:
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
-V, --version Prints version information
-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:
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to

View File

@ -27,7 +27,6 @@ FLAGS:
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
-V, --version Prints version information
-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:
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to