diff options
| author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-20 23:48:30 +0000 |
|---|---|---|
| committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-20 23:48:30 +0000 |
| commit | 2f36b989836df0f58dada461a7d7da608182cc02 (patch) | |
| tree | 7d6d89f17a37ee35f043e82e941748fa2395858e /include | |
| parent | d26b90c3b2075077162dd944a90329ea3424b7bf (diff) | |
| download | busybox-w32-2f36b989836df0f58dada461a7d7da608182cc02.tar.gz busybox-w32-2f36b989836df0f58dada461a7d7da608182cc02.tar.bz2 busybox-w32-2f36b989836df0f58dada461a7d7da608182cc02.zip | |
watch: execute command thru shell, not fork/exec. Other fixes
git-svn-id: svn://busybox.net/trunk/busybox@16417 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 7 |
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" \ |
