diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /procps/watch.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'procps/watch.c')
-rw-r--r-- | procps/watch.c | 14 |
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: |