aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h12
2 files changed, 15 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index d5c257052..de07cc960 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -532,6 +532,9 @@
532#ifdef CONFIG_VLOCK 532#ifdef CONFIG_VLOCK
533 APPLET(vlock, vlock_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) 533 APPLET(vlock, vlock_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
534#endif 534#endif
535#ifdef CONFIG_WATCH
536 APPLET(watch, watch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
537#endif
535#ifdef CONFIG_WATCHDOG 538#ifdef CONFIG_WATCHDOG
536 APPLET(watchdog, watchdog_main, _BB_DIR_SBIN, _BB_SUID_NEVER) 539 APPLET(watchdog, watchdog_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
537#endif 540#endif
diff --git a/include/usage.h b/include/usage.h
index 968823e54..1cdaa6681 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2076,6 +2076,18 @@
2076 "Options:\n" \ 2076 "Options:\n" \
2077 "\t-a\tLock all VTs" 2077 "\t-a\tLock all VTs"
2078 2078
2079#define watch_trivial_usage \
2080 "[-n <seconds>] COMMAND..."
2081#define watch_full_usage \
2082 "Executes a program periodically.\n" \
2083 "Options:\n" \
2084 "\t-n\tLoop period in seconds - default is 2."
2085#define watch_example_usage \
2086 "$ watch date\n" \
2087 "Mon Dec 17 10:31:40 GMT 2000\n" \
2088 "Mon Dec 17 10:31:42 GMT 2000\n" \
2089 "Mon Dec 17 10:31:44 GMT 2000"
2090
2079#define watchdog_trivial_usage \ 2091#define watchdog_trivial_usage \
2080 "DEV" 2092 "DEV"
2081#define watchdog_full_usage \ 2093#define watchdog_full_usage \