diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 06:23:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 06:23:44 +0100 |
commit | f8f81ed7aaf90897fa9a4687dac75152740a71e2 (patch) | |
tree | a5c624d8187016e4369be0be2667a2f5de752d03 /procps/watch.c | |
parent | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (diff) | |
download | busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.gz busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.bz2 busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.zip |
Convert all procps/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/watch.c')
-rw-r--r-- | procps/watch.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/procps/watch.c b/procps/watch.c index 20859c3cd..bb34124c0 100644 --- a/procps/watch.c +++ b/procps/watch.c | |||
@@ -11,6 +11,17 @@ | |||
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 | //config:config WATCH | ||
15 | //config: bool "watch" | ||
16 | //config: default y | ||
17 | //config: help | ||
18 | //config: watch is used to execute a program periodically, showing | ||
19 | //config: output to the screen. | ||
20 | |||
21 | //applet:IF_WATCH(APPLET(watch, BB_DIR_BIN, BB_SUID_DROP)) | ||
22 | |||
23 | //kbuild:lib-$(CONFIG_WATCH) += watch.o | ||
24 | |||
14 | //usage:#define watch_trivial_usage | 25 | //usage:#define watch_trivial_usage |
15 | //usage: "[-n SEC] [-t] PROG ARGS" | 26 | //usage: "[-n SEC] [-t] PROG ARGS" |
16 | //usage:#define watch_full_usage "\n\n" | 27 | //usage:#define watch_full_usage "\n\n" |