From 74f22a7d5cb6ed03f00c261fb4e28b411f1c4c0a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 17 Oct 2018 16:21:37 -0700 Subject: Some more --help consistency. From eyeballing the output of for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \ grep '^-' | grep -v "\t" --- toys/other/blockdev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'toys/other/blockdev.c') 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 Set readahead + --setra SECTORS Set readahead --flushbufs Flush buffers --rereadpt Reread partition table */ -- cgit v1.2.3