From 8d73c35916cbae67f5d0269b128de40f9992ddc6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 20 Oct 2006 23:48:30 +0000 Subject: watch: execute command thru shell, not fork/exec. Other fixes --- include/usage.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/usage.h') 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 ] COMMAND..." + "[-n ] [-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" \ -- cgit v1.2.3