aboutsummaryrefslogtreecommitdiff
path: root/procps/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/watch.c')
-rw-r--r--procps/watch.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/procps/watch.c b/procps/watch.c
index 36f71c469..e289bf8cb 100644
--- a/procps/watch.c
+++ b/procps/watch.c
@@ -11,6 +11,20 @@
11/* BB_AUDIT SUSv3 N/A */ 11/* BB_AUDIT SUSv3 N/A */
12/* BB_AUDIT GNU defects -- only option -n is supported. */ 12/* BB_AUDIT GNU defects -- only option -n is supported. */
13 13
14//usage:#define watch_trivial_usage
15//usage: "[-n SEC] [-t] PROG ARGS"
16//usage:#define watch_full_usage "\n\n"
17//usage: "Run PROG periodically\n"
18//usage: "\nOptions:"
19//usage: "\n -n Loop period in seconds (default 2)"
20//usage: "\n -t Don't print header"
21//usage:
22//usage:#define watch_example_usage
23//usage: "$ watch date\n"
24//usage: "Mon Dec 17 10:31:40 GMT 2000\n"
25//usage: "Mon Dec 17 10:31:42 GMT 2000\n"
26//usage: "Mon Dec 17 10:31:44 GMT 2000"
27
14#include "libbb.h" 28#include "libbb.h"
15 29
16// procps 2.0.18: 30// procps 2.0.18: