aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"