Update man page for

This commit is contained in:
Matt Green 2016-10-30 13:58:59 -04:00
parent 8f916c495f
commit fb81b9d219
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ Comma\-separated list of file extensions to filter by\. Leading dots are allowed
. .
.TP .TP
\fB\-f\fR, \fB\-\-filter\fR \fIpattern\fR \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 .TP
\fB\-i\fR, \fB\-\-ignore\fR \fIpattern\fR \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\. 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" .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" .SH "EXAMPLES"
Rebuild a project when source files change: Rebuild a project when source files change:

View File

@ -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`). 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>: * `-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*. 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*.
* `-i`, `--ignore` *pattern*: * `-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. 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.
@ -48,7 +48,7 @@ Skip loading of version control system (VCS) ignore files. By default, watchexec
## ENVIRONMENT ## 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 ## EXAMPLES