summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-06-28 13:48:38 +0200
committerJim Meyering <meyering@redhat.com>2010-06-29 07:06:31 +0200
commit5b3adc0d42463cdaf5177908bb434371e01eef96 (patch)
treed7ee11c9793654506efa9e015c69eb13ba96fda6 /src/du.c
parent91b7b7cf7efc007ffb3fbc61c3203c8bfcca6cb3 (diff)
downloadcoreutils-5b3adc0d42463cdaf5177908bb434371e01eef96.tar.gz
coreutils-5b3adc0d42463cdaf5177908bb434371e01eef96.tar.bz2
coreutils-5b3adc0d42463cdaf5177908bb434371e01eef96.zip
doc: df, du, ls: improve --blocksize description in --help
* src/du.c (usage): Print better --blocksize description. Prompted by Samuel Thibault in <http://bugs.debian.org/353100>. * src/df.c (usage): Likewise. * src/ls.c (usage): Likewise.
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/du.c b/src/du.c
index 2704f0f86..a90568ee8 100644
--- a/src/du.c
+++ b/src/du.c
@@ -281,7 +281,9 @@ Mandatory arguments to long options are mandatory for short options too.\n\
fragmentation, indirect blocks, and the like\n\
"), stdout);
fputs (_("\
- -B, --block-size=SIZE use SIZE-byte blocks\n\
+ -B, --block-size=SIZE scale sizes by SIZE before printing them. E.g.,\n\
+ `-BM' prints sizes in units of 1,048,576 bytes.\n\
+ See SIZE format below.\n\
-b, --bytes equivalent to `--apparent-size --block-size=1'\n\
-c, --total produce a grand total\n\
-D, --dereference-args dereference only symlinks that are listed on the\n\