aboutsummaryrefslogtreecommitdiff
path: root/watch.1
diff options
context:
space:
mode:
Diffstat (limited to 'watch.1')
-rw-r--r--watch.128
1 files changed, 15 insertions, 13 deletions
diff --git a/watch.1 b/watch.1
index 944df1f..ab60627 100644
--- a/watch.1
+++ b/watch.1
@@ -1,5 +1,5 @@
.\" $Id$
-.Dd December 07, 2003
+.Dd December 25, 2004
.Dt WATCH 1
.Os
.Sh NAME
@@ -7,40 +7,42 @@
.Nd execute program periodically, showing output fullscreen
.Sh SYNOPSIS
.Nm watch
-.Op Fl v | Fl ns Ar <seconds>
+.Op Fl tv
+.Op Fl s Ar time
.Op Ar command
.Sh DESCRIPTION
.Nm
runs
.Ar command
-repeatedly, displaying its output fullscreen.
-This allow you to watch a
+repeatedly and displays its output fullscreen.
+This allow you to watch an output of the
.Ar command
-output as it changes.
-By default it updates output every 2 seconds.
+as it changes.
+The default delay between screen updates is 2 seconds.
.Pp
The
.Nm
-will end with keyboard interrupt
+will terminate with keyboard interrupt
.Pq Sq ^C
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl s Ar time
+Set delay between screen updates in seconds.
+.It Fl t
+Disable output of title bar.
.It Fl v
-Show version and exit.
-.It Fl n
-Show no title.
-.It Fl s Ar <seconds>
-Delay in seconds between screen refresh.
+Display version and exit.
.El
.Pp
.Sh EXAMPLE
.Nm
--s 1 ps x
+-s 1 ps
.Pp
.Sh AUTHORS
The original
.Nm
was written by Tony Rems <rembo@unisoft.com> in 1991,
with mods and corrections by Francois Pinard.
+.Pp
It was rewritten by demon <demon@vhost.dyndns.org> in 2003.