watch: correct differences option, eliminate duplicate help text

This commit is contained in:
Jim Warner 2012-01-04 14:10:09 -06:00 committed by Craig Small
parent 7ac61b3fa1
commit f865ccbff9
2 changed files with 3 additions and 5 deletions

View File

@ -15,7 +15,7 @@ program is run every 2 seconds.
will run until interrupted.
.SH OPTIONS
.TP
\fB\-f\fR, \fB\-\-differences\fR
\fB\-d\fR, \fB\-\-differences\fR
Highlight the differences between successive updates.
.TP
\fB\-n\fR, \fB\-\-interval\fR \fIseconds\fR

View File

@ -66,14 +66,12 @@ static void __attribute__ ((__noreturn__))
fputs(USAGE_OPTIONS, out);
fputs(_(" -b, --beep beep if command has a non-zero exit\n"
" -c, --color interpret ANSI color sequences\n"
" -d, --differences highlight changes between updates\n"
" -e, --errexit exit if command has a non-zero exit\n"
" -f, --differences highlight changes between updates\n"
" -n, --interval <secs> seconds to wait between updates\n"
" -p, --precise attempt run command in precise intervals\n"
" -t, --no-title turn off header\n"
" -x, --exec pass command to exec instead of \"sh -c\"\n"
" -h, --help display this help text\n"
" -v, --version display version information and exit\n"), out);
" -x, --exec pass command to exec instead of \"sh -c\"\n"), out);
fputs(USAGE_SEPARATOR, out);
fputs(USAGE_HELP, out);
fputs(_(" -v, --version output version information and exit\n"), out);