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/pending/dd.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'toys/pending/dd.c') 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). -- cgit v1.2.3