aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/basename.c4
-rw-r--r--toys/posix/chgrp.c14
-rw-r--r--toys/posix/cmp.c4
-rw-r--r--toys/posix/comm.c6
-rw-r--r--toys/posix/cp.c34
-rw-r--r--toys/posix/cpio.c14
-rw-r--r--toys/posix/cut.c16
-rw-r--r--toys/posix/df.c4
-rw-r--r--toys/posix/du.c20
-rw-r--r--toys/posix/echo.c22
-rw-r--r--toys/posix/file.c4
-rw-r--r--toys/posix/grep.c2
-rw-r--r--toys/posix/iconv.c4
-rw-r--r--toys/posix/id.c2
-rw-r--r--toys/posix/kill.c2
-rw-r--r--toys/posix/mkdir.c8
-rw-r--r--toys/posix/nl.c4
-rw-r--r--toys/posix/paste.c4
-rw-r--r--toys/posix/patch.c4
-rw-r--r--toys/posix/ps.c10
-rw-r--r--toys/posix/pwd.c4
-rw-r--r--toys/posix/rm.c6
-rw-r--r--toys/posix/sed.c4
-rw-r--r--toys/posix/sort.c30
-rw-r--r--toys/posix/tail.c6
-rw-r--r--toys/posix/tee.c4
-rw-r--r--toys/posix/time.c4
-rw-r--r--toys/posix/touch.c14
-rw-r--r--toys/posix/tty.c2
-rw-r--r--toys/posix/uniq.c16
-rw-r--r--toys/posix/uudecode.c2
-rw-r--r--toys/posix/uuencode.c2
-rw-r--r--toys/posix/wc.c8
33 files changed, 142 insertions, 142 deletions
diff --git a/toys/posix/basename.c b/toys/posix/basename.c
index 11b96227..7e16afe6 100644
--- a/toys/posix/basename.c
+++ b/toys/posix/basename.c
@@ -15,8 +15,8 @@ config BASENAME
Return non-directory portion of a pathname removing suffix.
- -a All arguments are names.
- -s SUFFIX Remove suffix (implies -a).
+ -a All arguments are names
+ -s SUFFIX Remove suffix (implies -a)
*/
#define FOR_basename
diff --git a/toys/posix/chgrp.c b/toys/posix/chgrp.c
index e6ea9a45..85a4102c 100644
--- a/toys/posix/chgrp.c
+++ b/toys/posix/chgrp.c
@@ -16,13 +16,13 @@ config CHGRP
Change group of one or more files.
- -f suppress most error messages.
- -h change symlinks instead of what they point to
- -R recurse into subdirectories (implies -h)
- -H with -R change target of symlink, follow command line symlinks
- -L with -R change target of symlink, follow all symlinks
- -P with -R change symlink, do not follow symlinks (default)
- -v verbose output
+ -f Suppress most error messages
+ -h Change symlinks instead of what they point to
+ -R Recurse into subdirectories (implies -h)
+ -H With -R change target of symlink, follow command line symlinks
+ -L With -R change target of symlink, follow all symlinks
+ -P With -R change symlink, do not follow symlinks (default)
+ -v Verbose
config CHOWN
bool "chown"
diff --git a/toys/posix/cmp.c b/toys/posix/cmp.c
index 1a8f6900..6cd410fc 100644
--- a/toys/posix/cmp.c
+++ b/toys/posix/cmp.c
@@ -14,8 +14,8 @@ config CMP
Compare the contents of two files.
- -l show all differing bytes
- -s silent
+ -l Show all differing bytes
+ -s Silent
*/
#define FOR_cmp
diff --git a/toys/posix/comm.c b/toys/posix/comm.c
index 3e93de4f..33c056d3 100644
--- a/toys/posix/comm.c
+++ b/toys/posix/comm.c
@@ -17,9 +17,9 @@ config COMM
columns as output: lines only in FILE1; lines only in FILE2; and lines
in both files. Filename "-" is a synonym for stdin.
- -1 suppress the output column of lines unique to FILE1
- -2 suppress the output column of lines unique to FILE2
- -3 suppress the output column of lines duplicated in FILE1 and FILE2
+ -1 Suppress the output column of lines unique to FILE1
+ -2 Suppress the output column of lines unique to FILE2
+ -3 Suppress the output column of lines duplicated in FILE1 and FILE2
*/
#define FOR_comm
diff --git a/toys/posix/cp.c b/toys/posix/cp.c
index 97cccb2f..0b1d0e49 100644
--- a/toys/posix/cp.c
+++ b/toys/posix/cp.c
@@ -28,22 +28,22 @@ config CP
Copy files from SOURCE to DEST. If more than one SOURCE, DEST must
be a directory.
- -D create leading dirs under DEST (--parents)
- -f delete destination files we can't write to
- -F delete any existing destination file first (--remove-destination)
- -i interactive, prompt before overwriting existing DEST
- -p preserve timestamps, ownership, and mode
- -R recurse into subdirectories (DEST must be a directory)
+ -D Create leading dirs under DEST (--parents)
+ -f Delete destination files we can't write to
+ -F Delete any existing destination file first (--remove-destination)
+ -i Interactive, prompt before overwriting existing DEST
+ -p Preserve timestamps, ownership, and mode
+ -R Recurse into subdirectories (DEST must be a directory)
-H Follow symlinks listed on command line
-L Follow all symlinks
-P Do not follow symlinks [default]
- -a same as -dpr
- -d don't dereference symlinks
- -l hard link instead of copy
- -n no clobber (don't overwrite DEST)
- -r synonym for -R
- -s symlink instead of copy
- -v verbose
+ -a Same as -dpr
+ -d Don't dereference symlinks
+ -l Hard link instead of copy
+ -n No clobber (don't overwrite DEST)
+ -r Synonym for -R
+ -s Symlink instead of copy
+ -v Verbose
config CP_PRESERVE
bool "cp --preserve support"
@@ -68,10 +68,10 @@ config MV
help
usage: mv [-fivn] SOURCE... DEST"
- -f force copy by deleting destination file
- -i interactive, prompt before overwriting existing DEST
- -v verbose
- -n no clobber (don't overwrite DEST)
+ -f Force copy by deleting destination file
+ -i Interactive, prompt before overwriting existing DEST
+ -v Verbose
+ -n No clobber (don't overwrite DEST)
config INSTALL
bool "install"
diff --git a/toys/posix/cpio.c b/toys/posix/cpio.c
index f9da69e1..80567fd6 100644
--- a/toys/posix/cpio.c
+++ b/toys/posix/cpio.c
@@ -27,14 +27,14 @@ config CPIO
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
- -i extract from archive into file system (stdin=archive)
- -o create archive (stdin=list of files, stdout=archive)
- -t test files (list only, stdin=archive, stdout=list of files)
- -v verbose (list files during create/extract)
+ -F FILE Use archive FILE instead of stdin/stdout
+ -p DEST Copy-pass mode, copy stdin file list to directory DEST
+ -i Extract from archive into file system (stdin=archive)
+ -o Create archive (stdin=list of files, stdout=archive)
+ -t Test files (list only, stdin=archive, stdout=list of files)
+ -v Verbose
--no-preserve-owner (don't set ownership during extract)
- --trailer Add legacy trailer (prevents concatenation).
+ --trailer Add legacy trailer (prevents concatenation)
*/
#define FOR_cpio
diff --git a/toys/posix/cut.c b/toys/posix/cut.c
index 0b12ab14..9f7f7458 100644
--- a/toys/posix/cut.c
+++ b/toys/posix/cut.c
@@ -25,15 +25,15 @@ config CUT
from start). By default selection ranges are sorted and collated, use -D
to prevent that.
- -b select bytes
- -c select UTF-8 characters
- -C select unicode columns
- -d use DELIM (default is TAB for -f, run of whitespace for -F)
+ -b Select bytes
+ -c Select UTF-8 characters
+ -C Select unicode columns
+ -d Use DELIM (default is TAB for -f, run of whitespace for -F)
-D Don't sort/collate selections or match -fF lines without delimiter
- -f select fields (words) separated by single DELIM character
- -F select fields separated by DELIM regex
- -O output delimiter (default one space for -F, input delim for -f)
- -s skip lines without delimiters
+ -f Select fields (words) separated by single DELIM character
+ -F Select fields separated by DELIM regex
+ -O Output delimiter (default one space for -F, input delim for -f)
+ -s Skip lines without delimiters
*/
#define FOR_cut
#include "toys.h"
diff --git a/toys/posix/df.c b/toys/posix/df.c
index fa136275..a6beda18 100644
--- a/toys/posix/df.c
+++ b/toys/posix/df.c
@@ -19,8 +19,8 @@ config DF
-a Show all (including /proc and friends)
-P The SUSv3 "Pedantic" option
-k Sets units back to 1024 bytes (the default without -P)
- -h Human readable output (K=1024)
- -H Human readable output (k=1000)
+ -h Human readable (K=1024)
+ -H Human readable (k=1000)
-i Show inodes instead of blocks
-t type Display only filesystems of this type
diff --git a/toys/posix/du.c b/toys/posix/du.c
index d2f57277..ecae7568 100644
--- a/toys/posix/du.c
+++ b/toys/posix/du.c
@@ -19,18 +19,18 @@ config DU
Size in:
-k 1024 byte blocks (default)
-K 512 byte blocks (posix)
- -m megabytes
- -h human readable format (e.g., 1K 243M 2G )
+ -m Megabytes
+ -h Human readable (K=1024)
What to show:
- -a all files, not just directories
- -H follow symlinks on cmdline
- -L follow all symlinks
- -s only total size of each argument
- -x don't leave this filesystem
- -c cumulative total
- -d N only depth < N
- -l disable hardlink filter
+ -a All files, not just directories
+ -H Follow symlinks on cmdline
+ -L Follow all symlinks
+ -s Only total size of each argument
+ -x Don't leave this filesystem
+ -c Cumulative total
+ -d N Only depth < N
+ -l Disable hardlink filter
*/
#define FOR_du
diff --git a/toys/posix/echo.c b/toys/posix/echo.c
index f16b7910..639f87ab 100644
--- a/toys/posix/echo.c
+++ b/toys/posix/echo.c
@@ -22,17 +22,17 @@ config ECHO
-n No trailing newline
-e Process the following escape sequences:
- \\ backslash
- \0NNN octal values (1 to 3 digits)
- \a alert (beep/flash)
- \b backspace
- \c stop output here (avoids trailing newline)
- \f form feed
- \n newline
- \r carriage return
- \t horizontal tab
- \v vertical tab
- \xHH hexadecimal values (1 to 2 digits)
+ \\ Backslash
+ \0NNN Octal values (1 to 3 digits)
+ \a Alert (beep/flash)
+ \b Backspace
+ \c Stop output here (avoids trailing newline)
+ \f Form feed
+ \n Newline
+ \r Carriage return
+ \t Horizontal tab
+ \v Vertical tab
+ \xHH Hexadecimal values (1 to 2 digits)
*/
#define FOR_echo
diff --git a/toys/posix/file.c b/toys/posix/file.c
index 7d7bc3eb..ad98621c 100644
--- a/toys/posix/file.c
+++ b/toys/posix/file.c
@@ -14,8 +14,8 @@ config FILE
Examine the given files and describe their content types.
- -h don't follow symlinks (default)
- -L follow symlinks
+ -h Don't follow symlinks (default)
+ -L Follow symlinks
*/
#define FOR_file
diff --git a/toys/posix/grep.c b/toys/posix/grep.c
index 14cebf95..b2394c7b 100644
--- a/toys/posix/grep.c
+++ b/toys/posix/grep.c
@@ -29,7 +29,7 @@ config GREP
-r Recurse into subdirectories (defaults FILE to ".")
-M Match filename pattern (--include)
-S Skip filename pattern (--exclude)
- -I Ignore binary files
+ -I Ignore binary files
match type:
-A Show NUM lines after -B Show NUM lines before match
diff --git a/toys/posix/iconv.c b/toys/posix/iconv.c
index e3cf7bae..ce375b4a 100644
--- a/toys/posix/iconv.c
+++ b/toys/posix/iconv.c
@@ -18,8 +18,8 @@ config ICONV
Convert character encoding of files.
-c Omit invalid chars
- -f convert from (default utf8)
- -t convert to (default utf8)
+ -f Convert from (default utf8)
+ -t Convert to (default utf8)
*/
#define FOR_iconv
diff --git a/toys/posix/id.c b/toys/posix/id.c
index daa4b9e2..cf30ae74 100644
--- a/toys/posix/id.c
+++ b/toys/posix/id.c
@@ -19,7 +19,7 @@ config ID
Print user and group ID.
- -n print names instead of numeric IDs (to be used with -Ggu)
+ -n Print names instead of numeric IDs (to be used with -Ggu)
-G Show only the group IDs
-g Show only the effective group ID
-r Show real ID instead of effective ID
diff --git a/toys/posix/kill.c b/toys/posix/kill.c
index 72ce9179..f8e86b67 100644
--- a/toys/posix/kill.c
+++ b/toys/posix/kill.c
@@ -36,7 +36,7 @@ config KILLALL5
-l List signal name(s) and number(s)
-o PID Omit PID
- -s send SIGNAL (default SIGTERM)
+ -s Send SIGNAL (default SIGTERM)
*/
// This has to match the filename:
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c
index 956925da..abb33db4 100644
--- a/toys/posix/mkdir.c
+++ b/toys/posix/mkdir.c
@@ -14,9 +14,9 @@ config MKDIR
Create one or more directories.
- -m set permissions of directory to mode
- -p make parent directories as needed
- -v verbose
+ -m Set permissions of directory to mode
+ -p Make parent directories as needed
+ -v Verbose
config MKDIR_Z
bool
@@ -25,7 +25,7 @@ config MKDIR_Z
help
usage: [-Z context]
- -Z set security context
+ -Z Set security context
*/
#define FOR_mkdir
diff --git a/toys/posix/nl.c b/toys/posix/nl.c
index 32848332..3dbfcfd1 100644
--- a/toys/posix/nl.c
+++ b/toys/posix/nl.c
@@ -18,9 +18,9 @@ config NL
Number lines of input.
-E Use extended regex syntax (when doing -b pREGEX)
- -b which lines to number: a (all) t (non-empty, default) pREGEX (pattern)
+ -b Which lines to number: a (all) t (non-empty, default) pREGEX (pattern)
-l Only count last of this many consecutive blank lines
- -n number STYLE: ln (left justified) rn (right justified) rz (zero pad)
+ -n Number STYLE: ln (left justified) rn (right justified) rz (zero pad)
-s Separator to use between number and line (instead of TAB)
-w Width of line numbers (default 6)
*/
diff --git a/toys/posix/paste.c b/toys/posix/paste.c
index ea04f02e..872a744f 100644
--- a/toys/posix/paste.c
+++ b/toys/posix/paste.c
@@ -16,8 +16,8 @@ config PASTE
Merge corresponding lines from each input file.
- -d list of delimiter characters to separate fields with (default is \t)
- -s sequential mode: turn each input file into one line of output
+ -d List of delimiter characters to separate fields with (default is \t)
+ -s Sequential mode: turn each input file into one line of output
*/
#define FOR_paste
diff --git a/toys/posix/patch.c b/toys/posix/patch.c
index 1a3c7bbb..2dc9a728 100644
--- a/toys/posix/patch.c
+++ b/toys/posix/patch.c
@@ -28,11 +28,11 @@ config PATCH
Apply a unified diff to one or more files.
- -d modify files in DIR
+ -d Modify files in DIR
-i Input file (defaults=stdin)
-l Loose match (ignore whitespace)
-p Number of '/' to strip from start of file paths (default=all)
- -R Reverse patch.
+ -R Reverse patch
-u Ignored (only handles "unified" diffs)
--dry-run Don't change files, just confirm patch applies
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index 731998d9..76873861 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -63,13 +63,13 @@ config PS
Which processes to show (-gGuUpPt selections may be comma separated lists):
- -A all -a has terminal not session leader
- -d All but session leaders -e synonym for -A
- -g in GROUPs -G in real GROUPs (before sgid)
+ -A All -a Has terminal not session leader
+ -d All but session leaders -e Synonym for -A
+ -g In GROUPs -G In real GROUPs (before sgid)
-p PIDs (--pid) -P Parent PIDs (--ppid)
-s In session IDs -t Attached to selected TTYs
-T Show threads also -u Owned by selected USERs
- -U real USERs (before suid)
+ -U Real USERs (before suid)
Output modifiers:
@@ -169,7 +169,7 @@ config PKILL
usage: pkill [-fnovx] [-SIGNAL|-l SIGNAL] [PATTERN] [-G GID,] [-g PGRP,] [-P PPID,] [-s SID,] [-t TERM,] [-U UID,] [-u EUID,]
-l Send SIGNAL (default SIGTERM)
- -V verbose
+ -V Verbose
-f Check full command line for PATTERN
-G Match real Group ID(s)
-g Match Process Group(s) (0 is current user)
diff --git a/toys/posix/pwd.c b/toys/posix/pwd.c
index 32035924..08f39bf6 100644
--- a/toys/posix/pwd.c
+++ b/toys/posix/pwd.c
@@ -14,8 +14,8 @@ config PWD
Print working (current) directory.
- -L Use shell's path from $PWD (when applicable)
- -P Print cannonical absolute path
+ -L Use shell's path from $PWD (when applicable)
+ -P Print cannonical absolute path
*/
#define FOR_pwd
diff --git a/toys/posix/rm.c b/toys/posix/rm.c
index 2f99c326..608e1ca1 100644
--- a/toys/posix/rm.c
+++ b/toys/posix/rm.c
@@ -14,9 +14,9 @@ config RM
Remove each argument from the filesystem.
- -f force: remove without confirmation, no error if it doesn't exist
- -i interactive: prompt for confirmation
- -rR recursive: remove directory contents
+ -f Force: remove without confirmation, no error if it doesn't exist
+ -i Interactive: prompt for confirmation
+ -rR Recursive: remove directory contents
*/
#define FOR_rm
diff --git a/toys/posix/sed.c b/toys/posix/sed.c
index ea4d0055..eadac885 100644
--- a/toys/posix/sed.c
+++ b/toys/posix/sed.c
@@ -22,8 +22,8 @@ config SED
Stream editor. Apply one or more editing SCRIPTs to each line of input
(from FILE or stdin) producing output (by default to stdout).
- -e add SCRIPT to list
- -f add contents of SCRIPT_FILE to list
+ -e Add SCRIPT to list
+ -f Add contents of SCRIPT_FILE to list
-i Edit each file in place
-n No default output (use the p command to output matched lines)
-r Use extended regular expression syntax
diff --git a/toys/posix/sort.c b/toys/posix/sort.c
index d4a0f4fd..c33b8ff0 100644
--- a/toys/posix/sort.c
+++ b/toys/posix/sort.c
@@ -17,21 +17,21 @@ config SORT
Sort all lines of text from input files (or stdin) to stdout.
- -r reverse
- -u unique lines only
- -n numeric order (instead of alphabetical)
- -b ignore leading blanks (or trailing blanks in second part of key)
- -c check whether input is sorted
- -d dictionary order (use alphanumeric and whitespace chars only)
- -f force uppercase (case insensitive sort)
- -i ignore nonprinting characters
- -M month sort (jan, feb, etc)
+ -r Reverse
+ -u Unique lines only
+ -n Numeric order (instead of alphabetical)
+ -b Ignore leading blanks (or trailing blanks in second part of key)
+ -c Check whether input is sorted
+ -d Dictionary order (use alphanumeric and whitespace chars only)
+ -f Force uppercase (case insensitive sort)
+ -i Ignore nonprinting characters
+ -M Month sort (jan, feb, etc)
-x Hexadecimal numerical sort
- -s skip fallback sort (only sort with keys)
- -z zero (null) terminated lines
- -k sort by "key" (see below)
- -t use a key separator other than whitespace
- -o output to FILE instead of stdout
+ -s Skip fallback sort (only sort with keys)
+ -z Zero (null) terminated lines
+ -k Sort by "key" (see below)
+ -t Use a key separator other than whitespace
+ -o Output to FILE instead of stdout
Sorting by key looks at a subset of the words on each line. -k2
uses the second word to the end of the line, -k2,2 looks at only
@@ -47,7 +47,7 @@ config SORT_FLOAT
help
usage: sort [-g]
- -g general numeric sort (double precision with nan and inf)
+ -g General numeric sort (double precision with nan and inf)
*/
#define FOR_sort
diff --git a/toys/posix/tail.c b/toys/posix/tail.c
index bf997864..d01329c4 100644
--- a/toys/posix/tail.c
+++ b/toys/posix/tail.c
@@ -17,9 +17,9 @@ config TAIL
Copy last lines from files to stdout. If no files listed, copy from
stdin. Filename "-" is a synonym for stdin.
- -n output the last NUMBER lines (default 10), +X counts from start
- -c output the last NUMBER bytes, +NUMBER counts from start
- -f follow FILE(s), waiting for more data to be appended
+ -n Output the last NUMBER lines (default 10), +X counts from start
+ -c Output the last NUMBER bytes, +NUMBER counts from start
+ -f Follow FILE(s), waiting for more data to be appended
config TAIL_SEEK
bool "tail seek support"
diff --git a/toys/posix/tee.c b/toys/posix/tee.c
index 5936b7b3..90098ce7 100644
--- a/toys/posix/tee.c
+++ b/toys/posix/tee.c
@@ -15,8 +15,8 @@ config TEE
Copy stdin to each listed file, and also to stdout.
Filename "-" is a synonym for stdout.
- -a append to files
- -i ignore SIGINT
+ -a Append to files
+ -i Ignore SIGINT
*/
#define FOR_tee
diff --git a/toys/posix/time.c b/toys/posix/time.c
index 18664c10..0cf63dee 100644
--- a/toys/posix/time.c
+++ b/toys/posix/time.c
@@ -17,8 +17,8 @@ config TIME
(real = clock on the wall, user = cpu used by command's code,
system = cpu used by OS on behalf of command.)
- -p posix mode (default)
- -v verbose mode
+ -p POSIX format output (default)
+ -v Verbose
*/
#define FOR_time
diff --git a/toys/posix/touch.c b/toys/posix/touch.c
index 6a07ff33..17a0a3ed 100644
--- a/toys/posix/touch.c
+++ b/toys/posix/touch.c
@@ -17,13 +17,13 @@ config TOUCH
Update the access and modification times of each FILE to the current time.
- -a change access time
- -m change modification time
- -c don't create file
- -h change symlink
- -d set time to DATE (in YYYY-MM-DDThh:mm:SS[.frac][tz] format)
- -t set time to TIME (in [[CC]YY]MMDDhhmm[.ss][frac] format)
- -r set time same as reference FILE
+ -a Change access time
+ -m Change modification time
+ -c Don't create file
+ -h Change symlink
+ -d Set time to DATE (in YYYY-MM-DDThh:mm:SS[.frac][tz] format)
+ -t Set time to TIME (in [[CC]YY]MMDDhhmm[.ss][frac] format)
+ -r Set time same as reference FILE
*/
#define FOR_touch
diff --git a/toys/posix/tty.c b/toys/posix/tty.c
index 1694d846..9a833d5e 100644
--- a/toys/posix/tty.c
+++ b/toys/posix/tty.c
@@ -17,7 +17,7 @@ config TTY
Prints "not a tty" and exits with nonzero status if no terminal
is connected to stdin.
- -s silent, exit code only
+ -s Silent, exit code only
*/
#include "toys.h"
diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c
index 78c82544..6c89c630 100644
--- a/toys/posix/uniq.c
+++ b/toys/posix/uniq.c
@@ -14,14 +14,14 @@ config UNIQ
Report or filter out repeated lines in a file
- -c show counts before each line
- -d show only lines that are repeated
- -u show only lines that are unique
- -i ignore case when comparing lines
- -z lines end with \0 not \n
- -w compare maximum X chars per line
- -f ignore first X fields
- -s ignore first X chars
+ -c Show counts before each line
+ -d Show only lines that are repeated
+ -u Show only lines that are unique
+ -i Ignore case when comparing lines
+ -z Lines end with \0 not \n
+ -w Compare maximum X chars per line
+ -f Ignore first X fields
+ -s Ignore first X chars
*/
#define FOR_uniq
diff --git a/toys/posix/uudecode.c b/toys/posix/uudecode.c
index 4d2861af..220e43aa 100644
--- a/toys/posix/uudecode.c
+++ b/toys/posix/uudecode.c
@@ -14,7 +14,7 @@ config UUDECODE
Decode file from stdin (or INFILE).
- -o write to OUTFILE instead of filename in header
+ -o Write to OUTFILE instead of filename in header
*/
#define FOR_uudecode
diff --git a/toys/posix/uuencode.c b/toys/posix/uuencode.c
index 06709d5e..f0e5be12 100644
--- a/toys/posix/uuencode.c
+++ b/toys/posix/uuencode.c
@@ -14,7 +14,7 @@ config UUENCODE
Uuencode stdin (or file) to stdout, with encode-filename in the output.
- -m base64-encode
+ -m Base64
*/
#define FOR_uuencode
diff --git a/toys/posix/wc.c b/toys/posix/wc.c
index b875c1fd..5d362e7d 100644
--- a/toys/posix/wc.c
+++ b/toys/posix/wc.c
@@ -14,10 +14,10 @@ config WC
Count lines, words, and characters in input.
- -l show lines
- -w show words
- -c show bytes
- -m show characters
+ -l Show lines
+ -w Show words
+ -c Show bytes
+ -m Show characters
By default outputs lines, words, bytes, and filename for each
argument (or from stdin if none). Displays only either bytes