diff --git a/doc/watchexec.1 b/doc/watchexec.1 index ac2c7eb..c95a17d 100644 --- a/doc/watchexec.1 +++ b/doc/watchexec.1 @@ -30,8 +30,8 @@ Comma\-separated list of file extensions to filter by\. Leading dots are allowed Ignores modifications from paths that do not match \fIpattern\fR\. This option can be specified multiple times, where a match on any given pattern causes the path to trigger \fIcommand\fR\. . .TP -\fB\-k\fR, \fB\-\-kill\fR -Send \fBSIGKILL\fR to the child process group instead of \fBSIGTERM\fR\. +\fB\-s\fR, \fB\-\-signal \fR +Sends the specified signal (e\.g\. \fBSIGKILL\fR) to the child process\. Defaults to \fBSIGTERM\fR\. . .TP \fB\-i\fR, \fB\-\-ignore\fR \fIpattern\fR diff --git a/doc/watchexec.1.html b/doc/watchexec.1.html index ed03541..765f5cc 100644 --- a/doc/watchexec.1.html +++ b/doc/watchexec.1.html @@ -88,7 +88,7 @@
command

Command to run when watched files are modified, and at startup, unless --postpone is specified. All arguments are passed to command.

-e, --exts extensions

Comma-separated list of file extensions to filter by. Leading dots are allowed (.rs) are allowed. (This is a shorthand for -f).

-f, --filter pattern

Ignores modifications from paths that do not match pattern. This option can be specified multiple times, where a match on any given pattern causes the path to trigger command.

-
-k, --kill

Send SIGKILL to the child process group instead of SIGTERM.

+
-s, --signal SIGNAL

Sends the specified signal (e.g. SIGKILl) to the child process. Defaults to SIGTERM.

-i, --ignore pattern

Ignores modifications from paths that match pattern. This option can be specified multiple times, and a match on any pattern causes the path to be ignored.

-w, --watch path

Monitor a specific path for changes. By default, the current working directory is watched. This may be specified multiple times, where a change in any watched directory (and subdirectories) causes command to be executed.

-r, --restart

Terminates the child process group if it is still running when subsequent file modifications are detected. By default, sends SIGTERM; use --kill to send SIGKILL.

diff --git a/doc/watchexec.1.ronn b/doc/watchexec.1.ronn index 4fa6cc0..1b8bbe3 100644 --- a/doc/watchexec.1.ronn +++ b/doc/watchexec.1.ronn @@ -22,8 +22,8 @@ Comma-separated list of file extensions to filter by. Leading dots are allowed ( * `-f`, `--filter` : Ignores modifications from paths that do not match . This option can be specified multiple times, where a match on any given pattern causes the path to trigger . -* `-k`, `--kill`: -Send `SIGKILL` to the child process group instead of `SIGTERM`. +* `-s`, `--signal`: +Sends the specified signal (e.g. `SIGKILL`) to the child process. Defaults to `SIGTERM`. * `-i`, `--ignore` : Ignores modifications from paths that match . This option can be specified multiple times, and a match on any pattern causes the path to be ignored.