From d588ba74439604cf29100aec7cd1da640a5d6fe5 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 2 Mar 2019 11:21:25 -0800 Subject: 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. --- toys/posix/comm.c | 2 +- toys/posix/cp.c | 2 +- toys/posix/cpio.c | 2 +- toys/posix/ls.c | 2 +- toys/posix/od.c | 2 ++ toys/posix/unlink.c | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) (limited to 'toys/posix') 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" -- cgit v1.2.3