aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-08-22 17:42:56 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-08-22 17:42:56 +0200
commitd6c8060946b948d35340c1dafd7aee309ed7474a (patch)
tree26e95a57666fdb6540bf2df795a42472cb0eda79
parent49ddc26d970b466886045af9796448337f05a778 (diff)
Remove nonexistent flag v
-rw-r--r--watch.14
-rw-r--r--watch.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/watch.1 b/watch.1
index 39dd3f4..0a7d0a7 100644
--- a/watch.1
+++ b/watch.1
@@ -32,8 +32,8 @@ Set delay between screen updates in seconds.
The default value is 2 seconds.
.It Fl t
Disable output of the title bar.
-.It Fl v
-Display version and terminate.
+.It Fl h
+Display usage and terminate.
.El
.Pp
.Nm Watch
diff --git a/watch.c b/watch.c
index 71a10bf..22090e8 100644
--- a/watch.c
+++ b/watch.c
@@ -269,7 +269,7 @@ settimer(int sec)
void
usage(void)
{
- (void)fprintf(stderr, "usage: %s [-htv] [-n time] [command]\n",
+ (void)fprintf(stderr, "usage: %s [-ht] [-n time] [command]\n",
__progname);
exit(EX_USAGE);
}