summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-20 23:48:30 +0000
committerDenis Vlasenko2006-10-20 23:48:30 +0000
commit8d73c35916cbae67f5d0269b128de40f9992ddc6 (patch)
tree7d6d89f17a37ee35f043e82e941748fa2395858e /include
parent9bff26cccb0fb3e2fa535e014a64e463a1970c3e (diff)
downloadbusybox-8d73c35916cbae67f5d0269b128de40f9992ddc6.zip
busybox-8d73c35916cbae67f5d0269b128de40f9992ddc6.tar.gz
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 f959776..9a6febf 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3296,11 +3296,12 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \
"\t-a\tLock all VTs"
#define watch_trivial_usage \
- "[-n <seconds>] COMMAND..."
+ "[-n <seconds>] [-t] COMMAND..."
#define watch_full_usage \
- "Executes a program periodically.\n" \
+ "Executes a program periodically\n\n" \
"Options:\n" \
- "\t-n\tLoop period in seconds - default is 2"
+ "\t-n\tLoop period in seconds - default is 2\n"
+ "\t-t\tDon't print header"
#define watch_example_usage \
"$ watch date\n" \
"Mon Dec 17 10:31:40 GMT 2000\n" \