diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-21 03:48:30 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-21 03:48:30 +0400 |
commit | 8d73c35916cbae67f5d0269b128de40f9992ddc6 (patch) | |
tree | 7d6d89f17a37ee35f043e82e941748fa2395858e /include | |
parent | 9bff26cccb0fb3e2fa535e014a64e463a1970c3e (diff) |
watch: execute command thru shell, not fork/exec. Other fixes
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( \ "\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" \ |