Add -k to support sending SIGKILL

This commit is contained in:
Matt Green 2017-01-16 14:18:38 -05:00
parent 6b7351d45b
commit fd2d6e364a
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@ -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)",

View File

@ -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"

View File

@ -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();