From fb81b9d219a46acd9b24c4818c5bef5b0c1331a0 Mon Sep 17 00:00:00 2001 From: Matt Green Date: Sun, 30 Oct 2016 13:58:59 -0400 Subject: [PATCH] Update man page for --- doc/watchexec.1 | 4 ++-- doc/watchexec.1.ronn | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/watchexec.1 b/doc/watchexec.1 index 899a187..9c8d249 100644 --- a/doc/watchexec.1 +++ b/doc/watchexec.1 @@ -31,7 +31,7 @@ Comma\-separated list of file extensions to filter by\. Leading dots are allowed . .TP \fB\-f\fR, \fB\-\-filter\fR \fIpattern\fR -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\. +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\-i\fR, \fB\-\-ignore\fR \fIpattern\fR @@ -62,7 +62,7 @@ When watching directories, poll for changes every \fIinterval\fR ms instead of u Skip loading of version control system (VCS) ignore files\. By default, watchexec loads \.gitignore files in the current directory (or parent directories) and uses them to populate the ignore list\. . .SH "ENVIRONMENT" -Processes started by watchexec have the $WATCHEXEC_UPDATED_PATH environment variable set to the path of the first modification observed\. +Processes started by watchexec have the \fB$WATCHEXEC_UPDATED_PATH\fR environment variable set to the path of the first modification observed\. In addition, the \fB$WATCHEXEC_COMMON_PATH\fR environment variable is set to the common path of all observed modifications\. . .SH "EXAMPLES" Rebuild a project when source files change: diff --git a/doc/watchexec.1.ronn b/doc/watchexec.1.ronn index d96a732..866f364 100644 --- a/doc/watchexec.1.ronn +++ b/doc/watchexec.1.ronn @@ -23,7 +23,7 @@ Specifies the path to watch. This argument can be specified multiple times, with Comma-separated list of file extensions to filter by. Leading dots are allowed (.rs) are allowed. (This is a shorthand for `-f`). * `-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 *COMMAND*. +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 *command*. * `-i`, `--ignore` *pattern*: 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. @@ -48,7 +48,7 @@ Skip loading of version control system (VCS) ignore files. By default, watchexec ## ENVIRONMENT -Processes started by watchexec have the $WATCHEXEC_UPDATED_PATH environment variable set to the path of the first modification observed. +Processes started by watchexec have the `$WATCHEXEC_UPDATED_PATH` environment variable set to the path of the first modification observed. In addition, the `$WATCHEXEC_COMMON_PATH` environment variable is set to the common path of all observed modifications. ## EXAMPLES