doc: improve the numfmt man page format
authorPádraig Brady <P@draigBrady.com>
Mon, 11 Feb 2013 09:27:22 +0000 (09:27 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 11 Feb 2013 10:24:26 +0000 (10:24 +0000)
* 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.

src/numfmt.c

index 595e232..d87d8ef 100644 (file)
@@ -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\