diff options
author | Elliott Hughes <enh@google.com> | 2018-10-17 16:21:37 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-10-20 14:52:08 -0500 |
commit | 74f22a7d5cb6ed03f00c261fb4e28b411f1c4c0a (patch) | |
tree | 7dcfe85f05948afe402a9a399d0d37d6a7d4d23a /toys/pending | |
parent | 3727bafda4093dffaec93a9f679f997c3df8bf70 (diff) | |
download | toybox-74f22a7d5cb6ed03f00c261fb4e28b411f1c4c0a.tar.gz |
Some more --help consistency.
From eyeballing the output of
for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \
grep '^-' | grep -v "\t"
Diffstat (limited to 'toys/pending')
-rw-r--r-- | toys/pending/dd.c | 31 | ||||
-rw-r--r-- | toys/pending/userdel.c | 4 |
2 files changed, 18 insertions, 17 deletions
diff --git a/toys/pending/dd.c b/toys/pending/dd.c index aebc90e8..e37f8b28 100644 --- a/toys/pending/dd.c +++ b/toys/pending/dd.c @@ -16,21 +16,22 @@ config DD usage: dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync] [status=noxfer|none] - Options: - if=FILE Read from FILE instead of stdin - of=FILE Write to FILE instead of stdout - bs=N Read and write N bytes at a time - ibs=N Read N bytes at a time - obs=N Write N bytes at a time - count=N Copy only N input blocks - skip=N Skip N input blocks - seek=N Skip N output blocks - conv=notrunc Don't truncate output file - conv=noerror Continue after read errors - conv=sync Pad blocks with zeros - conv=fsync Physically write data out before finishing - status=noxfer Don't show transfer rate - status=none Don't show transfer rate or records in/out + Copy/convert files. + + if=FILE Read from FILE instead of stdin + of=FILE Write to FILE instead of stdout + bs=N Read and write N bytes at a time + ibs=N Read N bytes at a time + obs=N Write N bytes at a time + count=N Copy only N input blocks + skip=N Skip N input blocks + seek=N Skip N output blocks + conv=notrunc Don't truncate output file + conv=noerror Continue after read errors + conv=sync Pad blocks with zeros + conv=fsync Physically write data out before finishing + status=noxfer Don't show transfer rate + status=none Don't show transfer rate or records in/out Numbers may be suffixed by c (*1), w (*2), b (*512), kD (*1000), k (*1024), MD (*1000*1000), M (*1024*1024), GD (*1000*1000*1000) or G (*1024*1024*1024). diff --git a/toys/pending/userdel.c b/toys/pending/userdel.c index 9c93a219..8307c0f3 100644 --- a/toys/pending/userdel.c +++ b/toys/pending/userdel.c @@ -14,9 +14,9 @@ config USERDEL usage: userdel [-r] USER usage: deluser [-r] USER - Options: - -r remove home directory Delete USER from the SYSTEM + + -r remove home directory */ #define FOR_userdel |