summaryrefslogtreecommitdiff
path: root/src/numfmt.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-02-11 09:27:22 +0000
committerPádraig Brady <P@draigBrady.com>2013-02-11 10:24:26 +0000
commit6c1a3b0a29d353f65ddfd5c65d2adeff62d93fed (patch)
treebd3a9fb530ea01529f61bdf12206825cbb5cae01 /src/numfmt.c
parentb5f45b640cfec88bc6dce243a7bc07ba3a344ec2 (diff)
downloadcoreutils-6c1a3b0a29d353f65ddfd5c65d2adeff62d93fed.tar.xz
doc: improve the numfmt man page format
* src/numfmt.c (usage): Keep a single space between the "K = 1000", so that it's not displayed on a separate line. Also place ',' between each unit entry to improve readability.
Diffstat (limited to 'src/numfmt.c')
-rw-r--r--src/numfmt.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/numfmt.c b/src/numfmt.c
index 595e232c1..d87d8efce 100644
--- a/src/numfmt.c
+++ b/src/numfmt.c
@@ -866,25 +866,25 @@ UNIT options:\n"), stdout);
none no auto-scaling is done; suffixes will trigger an error\n\
"), stdout);
fputs (_("\
- auto accept optional single-letter/two-letter suffix:\n\
- 1K = 1000\n\
- 1Ki = 1024\n\
- 1M = 1000000\n\
- 1Mi = 1048576\n"), stdout);
+ auto accept optional single/two letter suffix:\n\
+ 1K = 1000,\n\
+ 1Ki = 1024,\n\
+ 1M = 1000000,\n\
+ 1Mi = 1048576,\n"), stdout);
fputs (_("\
si accept optional single letter suffix:\n\
- 1K = 1000\n\
- 1M = 1000000\n\
+ 1K = 1000,\n\
+ 1M = 1000000,\n\
...\n"), stdout);
fputs (_("\
iec accept optional single letter suffix:\n\
- 1K = 1024\n\
- 1M = 1048576\n\
+ 1K = 1024,\n\
+ 1M = 1048576,\n\
...\n"), stdout);
fputs (_("\
iec-i accept optional two-letter suffix:\n\
- 1Ki = 1024\n\
- 1Mi = 1048576\n\
+ 1Ki = 1024,\n\
+ 1Mi = 1048576,\n\
...\n"), stdout);
fputs (_("\n\