aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/head.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-02-01 22:09:49 -0800
committerRob Landley <rob@landley.net>2020-02-02 02:02:26 -0600
commit763e85820b91f11cac8930a6613b6da334755830 (patch)
tree69d17a4dc5508d6a04194ac4e194ed1155b2bd5c /toys/posix/head.c
parent75d1bf9addbd8bb7ca64d773883f6feef54b2d8c (diff)
downloadtoybox-763e85820b91f11cac8930a6613b6da334755830.tar.gz
Canonicalize the usage: lines for the POSIX toys.
This only touches 24 of the 68 toys/posix/ files --- the others were already canonical. Potentially contentious, so worth stating explicitly, is that there were 8 matches for "COMMAND..." amongst all existing help output, with 7 matches for various inconsistent variants involving something with "ARG", so I resolved that in favor of using "COMMAND..." (which is also shorter overall, and avoids nested []s).
Diffstat (limited to 'toys/posix/head.c')
-rw-r--r--toys/posix/head.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/head.c b/toys/posix/head.c
index ab8467e4..d5c0700c 100644
--- a/toys/posix/head.c
+++ b/toys/posix/head.c
@@ -12,7 +12,7 @@ config HEAD
bool "head"
default y
help
- usage: head [-n number] [file...]
+ usage: head [-n NUM] [FILE...]
Copy first lines from files to stdout. If no files listed, copy from
stdin. Filename "-" is a synonym for stdin.