summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorOndřej Vašík <ovasik@redhat.com>2009-09-10 12:33:41 +0100
committerPádraig Brady <P@draigBrady.com>2009-09-10 15:28:50 +0100
commitb64d9b6d9e7fdc96614e3cbef001f8e078fe9588 (patch)
treedfe32e71e396a8de020ef5edcde5012b4ed21d6f /src/du.c
parent0bbb9d7785957437182fc633b2d387cc51ee918e (diff)
downloadcoreutils-b64d9b6d9e7fdc96614e3cbef001f8e078fe9588.tar.xz
doc: improve various BLOCKSIZE and SIZE help
* doc/coreutils.texi (multiplierSuffixes): Mention that the suffix can be specified without a leading number * src/split.c (usage): Refactor SIZE help to within a function * src/truncate.c (usage): Likewise * src/ls.c (usage): Likewise * src/df.c (usage): Likewise. Also add a function with BLOCKSIZE help * src/du.c (usage): Likewise. * src/system.h: Define 2 functions to emit common help text This was prompted by https://bugzilla.redhat.com/show_bug.cgi?id=511188
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/du.c b/src/du.c
index 9da901a62..321d30feb 100644
--- a/src/du.c
+++ b/src/du.c
@@ -330,10 +330,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- fputs (_("\n\
-SIZE may be (or may be an integer optionally followed by) one of following:\n\
-kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\
-"), stdout);
+ emit_blocksize_note ("DU");
+ emit_size_note ();
emit_bug_reporting_address ();
}
exit (status);