From 1afe7fae553244309eaba0eb0379675fe185864a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 18 Aug 2013 13:52:08 -0500 Subject: Fix usage: lines for a couple commands. --- toys/posix/touch.c | 2 +- toys/posix/tty.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'toys/posix') 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" -- cgit v1.2.3