Cosmetic fixes to help

This commit is contained in:
Félix Saparelli 2021-04-11 05:06:32 +12:00
parent 5da11d2fd7
commit 75ef0095ff
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@ where
.multiple(true)
.required(true))
.arg(Arg::with_name("extensions")
.help("Comma-separated list of file extensions to watch (js,css,html)")
.help("Comma-separated list of file extensions to watch (e.g. js,css,html)")
.short("e")
.long("exts")
.takes_value(true))
@ -51,7 +51,8 @@ where
.short("c")
.long("clear"))
.arg(Arg::with_name("on-busy-update")
.help("Select the behaviour to use when receiving events while the command is running. Current default is queue, will change to do-nothing in 2.0")
.help("Select the behaviour to use when receiving events while the command is running. Current default is queue, will change to do-nothing in 2.0.")
.takes_value(true)
.possible_values(&["do-nothing", "queue", "restart", "signal"])
.long("on-busy-update"))
.arg(Arg::with_name("restart")