docs: Reword --exec option in watch.1 _____ (catch up)
--------------- Original Master Branch Commit Message: The manual page for watch for the exec option was confusing and backwards. Hopefully this one makes more sense. References: procps-ng/procps#75 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
b0908eec4b
commit
fcd97e6a62
12
watch.1
12
watch.1
@ -1,4 +1,4 @@
|
|||||||
.TH WATCH 1 "2016-06-03" "procps-ng" "User Commands"
|
.TH WATCH 1 "2018-03-03" "procps-ng" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
watch \- execute a program periodically, showing output fullscreen
|
watch \- execute a program periodically, showing output fullscreen
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -54,13 +54,13 @@ changes.
|
|||||||
Interpret ANSI color and style sequences.
|
Interpret ANSI color and style sequences.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fR, \fB\-\-exec\fR
|
\fB\-x\fR, \fB\-\-exec\fR
|
||||||
|
Pass
|
||||||
.I command
|
.I command
|
||||||
is given to
|
to
|
||||||
.B sh \-c
|
|
||||||
which means that you may need to use extra quoting to get the desired effect.
|
|
||||||
This with the \-\-exec option, which passes the command to
|
|
||||||
.BR exec (2)
|
.BR exec (2)
|
||||||
instead.
|
instead of
|
||||||
|
.B sh \-c
|
||||||
|
which reduces the need to use extra quoting to get the desired effect.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
Display help text and exit.
|
Display help text and exit.
|
||||||
|
Loading…
Reference in New Issue
Block a user