From f865ccbff9ed42859fe61a8c33bf968440b54b43 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Wed, 4 Jan 2012 14:10:09 -0600 Subject: [PATCH] watch: correct differences option, eliminate duplicate help text --- watch.1 | 2 +- watch.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/watch.1 b/watch.1 index ac81f467..7e2edc81 100644 --- a/watch.1 +++ b/watch.1 @@ -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 diff --git a/watch.c b/watch.c index 769ce3cf..66e7e249 100644 --- a/watch.c +++ b/watch.c @@ -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 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); -- 2.40.0