diff options
author | Elliott Hughes <enh@google.com> | 2018-12-04 14:22:12 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-04 17:08:19 -0600 |
commit | 141a075c0e192dc9910e777270114b1864270bfd (patch) | |
tree | 2d62f0cedc34773310b23b3d8f55f577cbbaf9db /toys/posix/cpio.c | |
parent | bcf244f3e6ff3c76536063bc5f7d684c6fd4e3fd (diff) | |
download | toybox-141a075c0e192dc9910e777270114b1864270bfd.tar.gz |
Clean up some --help formatting.
Be consistent about upper versus lower case. (Upper seems to have the
majority, so I went with that, though I'm happy to provide the opposite
patch as long as we're consistent!)
Be consistent about using \t. (Though saving a few bytes seems like it
might be better done in the code that generates help.h rather than
directly in the source, since tabs make careful ASCII art layout hard
enough that we regularly have things misaligned.)
Remove trailing periods (most of which seem to have been added by me).
Always use the US "human readable" rather than my British
"human-readable", and be more consistent about declaring whether we're
showing multiples of 1000 or 1024.
Just say "verbose" rather than adding a useless "mode" or "output".
Diffstat (limited to 'toys/posix/cpio.c')
-rw-r--r-- | toys/posix/cpio.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 |