diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /procps/watch.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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: |