Add -k to support sending SIGKILL
This commit is contained in:
parent
6b7351d45b
commit
fd2d6e364a
|
@ -1,6 +1,6 @@
|
|||
[root]
|
||||
name = "watchexec"
|
||||
version = "1.6.0"
|
||||
version = "1.6.1"
|
||||
dependencies = [
|
||||
"clap 2.19.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "watchexec"
|
||||
version = "1.6.0"
|
||||
version = "1.6.1"
|
||||
authors = ["Matt Green <mattgreenrocks@gmail.com>"]
|
||||
description = "Executes commands in response to file modifications"
|
||||
documentation = "https://github.com/mattgreen/watchexec"
|
||||
|
|
|
@ -84,6 +84,7 @@ pub fn get_args() -> Args {
|
|||
.value_name("interval"))
|
||||
.arg(Arg::with_name("kill")
|
||||
.help("Send SIGKILL to child processes")
|
||||
.short("k")
|
||||
.long("kill"))
|
||||
.get_matches();
|
||||
|
||||
|
|
Loading…
Reference in New Issue