diff options
author | Ondřej Vašík <ovasik@redhat.com> | 2009-09-10 12:33:41 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-09-10 15:28:50 +0100 |
commit | b64d9b6d9e7fdc96614e3cbef001f8e078fe9588 (patch) | |
tree | dfe32e71e396a8de020ef5edcde5012b4ed21d6f /src/split.c | |
parent | 0bbb9d7785957437182fc633b2d387cc51ee918e (diff) | |
download | coreutils-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/split.c')
-rw-r--r-- | src/split.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/split.c b/src/split.c index 45c24aaa4..e02f7433a 100644 --- a/src/split.c +++ b/src/split.c @@ -126,12 +126,7 @@ 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 have a multiplier suffix:\n\ -b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,\n\ -GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\ -"), stdout); + emit_size_note (); emit_bug_reporting_address (); } exit (status); |