summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Small <csmall@enc.com.au>2018-03-03 18:26:47 +1100
committerCraig Small <csmall@enc.com.au>2018-03-03 18:26:47 +1100
commit7c7781a120376548a0db1037a7aecd3114f985ea (patch)
tree3f3856162adcff67206c635b53a3fdbe5bfe947d
parent3fc3a20523833a95b2d513b649ea7db9f9e610ed (diff)
downloadprocps-ng-7c7781a120376548a0db1037a7aecd3114f985ea.tar.gz
docs: Reword --exec option in watch.1
The manual page for watch for the exec option was confusing and backwards. Hopefully this one makes more sense. References: procps-ng/procps#75
-rw-r--r--watch.112
1 files changed, 6 insertions, 6 deletions
diff --git a/watch.1 b/watch.1
index f6b3913..1af33d1 100644
--- a/watch.1
+++ b/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
watch \- execute a program periodically, showing output fullscreen
.SH SYNOPSIS
@@ -54,13 +54,13 @@ changes.
Interpret ANSI color and style sequences.
.TP
\fB\-x\fR, \fB\-\-exec\fR
+Pass
.I command
-is given 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
+to
.BR exec (2)
-instead.
+instead of
+.B sh \-c
+which reduces the need to use extra quoting to get the desired effect.
.TP
\fB\-h\fR, \fB\-\-help\fR
Display help text and exit.