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/other/blockdev.c | |
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/other/blockdev.c')
-rw-r--r-- | toys/other/blockdev.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toys/other/blockdev.c b/toys/other/blockdev.c index c2e10a22..75f71ad3 100644 --- a/toys/other/blockdev.c +++ b/toys/other/blockdev.c @@ -14,18 +14,17 @@ config BLOCKDEV Call ioctl(s) on each listed block device - OPTIONs: --setro Set read only --setrw Set read write --getro Get read only --getss Get sector size --getbsz Get block size - --setbsz BYTES Set block size + --setbsz BYTES Set block size --getsz Get device size in 512-byte sectors --getsize Get device size in sectors (deprecated) --getsize64 Get device size in bytes --getra Get readahead in 512-byte sectors - --setra <sectors> Set readahead + --setra SECTORS Set readahead --flushbufs Flush buffers --rereadpt Reread partition table */ |