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/shred.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'toys/other/shred.c') diff --git a/toys/other/shred.c b/toys/other/shred.c index e10adc09..680320ec 100644 --- a/toys/other/shred.c +++ b/toys/other/shred.c @@ -14,13 +14,13 @@ config SHRED Securely delete a file by overwriting its contents with random data. - -f Force (chmod if necessary) - -n COUNT Random overwrite iterations (default 1) - -o OFFSET Start at OFFSET - -s SIZE Use SIZE instead of detecting file size - -u unlink (actually delete file when done) - -x Use exact size (default without -s rounds up to next 4k) - -z zero at end + -f Force (chmod if necessary) + -n COUNT Random overwrite iterations (default 1) + -o OFFSET Start at OFFSET + -s SIZE Use SIZE instead of detecting file size + -u Unlink (actually delete file when done) + -x Use exact size (default without -s rounds up to next 4k) + -z Zero at end Note: data journaling filesystems render this command useless, you must overwrite all free space (fill up disk) to erase old data on those. -- cgit v1.2.3