diff options
author | Elliott Hughes <enh@google.com> | 2019-03-02 11:21:25 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-03-02 14:12:24 -0600 |
commit | d588ba74439604cf29100aec7cd1da640a5d6fe5 (patch) | |
tree | 458245b19a5af436925a238da9d779a038dcf968 /toys/posix | |
parent | b8001d13a68b1b05bff7008fd657af0563890d3f (diff) | |
download | toybox-d588ba74439604cf29100aec7cd1da640a5d6fe5.tar.gz |
Improve help consistency.
More consistent tense, capitalization, and punctuation. A few commands were
missing an introductory line, so I copied those from the first comment
line.
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/comm.c | 2 | ||||
-rw-r--r-- | toys/posix/cp.c | 2 | ||||
-rw-r--r-- | toys/posix/cpio.c | 2 | ||||
-rw-r--r-- | toys/posix/ls.c | 2 | ||||
-rw-r--r-- | toys/posix/od.c | 2 | ||||
-rw-r--r-- | toys/posix/unlink.c | 2 |
6 files changed, 7 insertions, 5 deletions
diff --git a/toys/posix/comm.c b/toys/posix/comm.c index 33c056d3..c5c8f851 100644 --- a/toys/posix/comm.c +++ b/toys/posix/comm.c @@ -13,7 +13,7 @@ config COMM help usage: comm [-123] FILE1 FILE2 - Reads FILE1 and FILE2, which should be ordered, and produces three text + Read FILE1 and FILE2, which should be ordered, and produce three text columns as output: lines only in FILE1; lines only in FILE2; and lines in both files. Filename "-" is a synonym for stdin. diff --git a/toys/posix/cp.c b/toys/posix/cp.c index 5e1a0163..ddbfe125 100644 --- a/toys/posix/cp.c +++ b/toys/posix/cp.c @@ -66,7 +66,7 @@ config MV bool "mv" default y help - usage: mv [-fivn] SOURCE... DEST" + usage: mv [-fivn] SOURCE... DEST -f Force copy by deleting destination file -i Interactive, prompt before overwriting existing DEST diff --git a/toys/posix/cpio.c b/toys/posix/cpio.c index 80567fd6..97b4035f 100644 --- a/toys/posix/cpio.c +++ b/toys/posix/cpio.c @@ -25,7 +25,7 @@ config CPIO usage: cpio -{o|t|i|p DEST} [-v] [--verbose] [-F FILE] [--no-preserve-owner] [ignored: -mdu -H newc] - copy files into and out of a "newc" format cpio archive + Copy files into and out of a "newc" format cpio archive. -F FILE Use archive FILE instead of stdin/stdout -p DEST Copy-pass mode, copy stdin file list to directory DEST diff --git a/toys/posix/ls.c b/toys/posix/ls.c index d24168d6..287c3da6 100644 --- a/toys/posix/ls.c +++ b/toys/posix/ls.c @@ -20,7 +20,7 @@ config LS help usage: ls [-ACFHLRSZacdfhiklmnpqrstux1] [--color[=auto]] [directory...] - list files + List files. what to show: -a all files including .hidden -b escape nongraphic chars diff --git a/toys/posix/od.c b/toys/posix/od.c index f45c8654..f0edcd76 100644 --- a/toys/posix/od.c +++ b/toys/posix/od.c @@ -13,6 +13,8 @@ config OD help usage: od [-bcdosxv] [-j #] [-N #] [-w #] [-A doxn] [-t acdfoux[#]] + Dump data in octal/hex. + -A Address base (decimal, octal, hexadecimal, none) -j Skip this many bytes of input -N Stop dumping after this many bytes diff --git a/toys/posix/unlink.c b/toys/posix/unlink.c index 4faef9dc..f5faab06 100644 --- a/toys/posix/unlink.c +++ b/toys/posix/unlink.c @@ -12,7 +12,7 @@ config UNLINK help usage: unlink FILE - Deletes one file. + Delete one file. */ #include "toys.h" |