aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-08-18 13:52:08 -0500
committerRob Landley <rob@landley.net>2013-08-18 13:52:08 -0500
commit1afe7fae553244309eaba0eb0379675fe185864a (patch)
treeb54727fbf9b3b07bfe2e1c1fa1666a23cc40b704
parent100fb2399417316fb6d5818fbc4e3a843d189bf3 (diff)
downloadtoybox-1afe7fae553244309eaba0eb0379675fe185864a.tar.gz
Fix usage: lines for a couple commands.
-rw-r--r--toys/posix/touch.c2
-rw-r--r--toys/posix/tty.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/toys/posix/touch.c b/toys/posix/touch.c
index 76884be2..3a65e931 100644
--- a/toys/posix/touch.c
+++ b/toys/posix/touch.c
@@ -12,7 +12,7 @@ config TOUCH
bool "touch"
default y
help
- Usage: Usage: touch [OPTION]... FILE...
+ usage: touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current time.
diff --git a/toys/posix/tty.c b/toys/posix/tty.c
index 578c9aff..1694d846 100644
--- a/toys/posix/tty.c
+++ b/toys/posix/tty.c
@@ -10,12 +10,14 @@ config TTY
bool "tty"
default y
help
+ usage: tty [-s]
+
Show filename of terminal connected to stdin.
Prints "not a tty" and exits with nonzero status if no terminal
is connected to stdin.
- -s silent mode
+ -s silent, exit code only
*/
#include "toys.h"