aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 23:48:30 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 23:48:30 +0000
commit8d73c35916cbae67f5d0269b128de40f9992ddc6 (patch)
tree7d6d89f17a37ee35f043e82e941748fa2395858e /include
parent9bff26cccb0fb3e2fa535e014a64e463a1970c3e (diff)
downloadbusybox-w32-8d73c35916cbae67f5d0269b128de40f9992ddc6.tar.gz
busybox-w32-8d73c35916cbae67f5d0269b128de40f9992ddc6.tar.bz2
busybox-w32-8d73c35916cbae67f5d0269b128de40f9992ddc6.zip
watch: execute command thru shell, not fork/exec. Other fixes
Diffstat (limited to 'include')
-rw-r--r--include/usage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index f9597763e..9a6febf46 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3296,11 +3296,12 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \
3296 "\t-a\tLock all VTs" 3296 "\t-a\tLock all VTs"
3297 3297
3298#define watch_trivial_usage \ 3298#define watch_trivial_usage \
3299 "[-n <seconds>] COMMAND..." 3299 "[-n <seconds>] [-t] COMMAND..."
3300#define watch_full_usage \ 3300#define watch_full_usage \
3301 "Executes a program periodically.\n" \ 3301 "Executes a program periodically\n\n" \
3302 "Options:\n" \ 3302 "Options:\n" \
3303 "\t-n\tLoop period in seconds - default is 2" 3303 "\t-n\tLoop period in seconds - default is 2\n"
3304 "\t-t\tDon't print header"
3304#define watch_example_usage \ 3305#define watch_example_usage \
3305 "$ watch date\n" \ 3306 "$ watch date\n" \
3306 "Mon Dec 17 10:31:40 GMT 2000\n" \ 3307 "Mon Dec 17 10:31:40 GMT 2000\n" \