changeset 1638:07f27ec0801e

Adjust "gfxconv --formats" output.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 28 May 2018 14:52:24 +0300
parents 710961d02b8a
children ff794644a70a
files tools/gfxconv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Fri May 25 02:23:23 2018 +0300
+++ b/tools/gfxconv.c	Mon May 28 14:52:24 2018 +0300
@@ -124,7 +124,7 @@
     {  2, 'm', "multicolor",    "Input is multicolor / output in multicolor", OPT_NONE },
     {  4, 's', "skip",          "Skip bytes in input", OPT_ARGREQ },
     {  5, 'f', "format",        "Output format (see --formats)", OPT_ARGREQ },
-    { 17,  0 , "formats",       "List available input/output formats", OPT_NONE },
+    { 17,  0 , "formats",       "List supported input/output formats", OPT_NONE },
     {  8, 'q', "sequential",    "Output sequential files (image output only)", OPT_NONE },
     {  6, 'c', "colormap",      "Color mappings (see below for information)", OPT_ARGREQ },
     {  7, 'n', "numitems",      "How many 'items' to output (default: all)", OPT_ARGREQ },
@@ -152,7 +152,7 @@
     for (int i = 0; i < nconvFormatList; i++)
     {
         const DMConvFormat *fmt = &convFormatList[i];
-        printf("%-5s | %c%c | %s\n",
+        printf("%-6s| %c%c | %s\n",
             fmt->fext ? fmt->fext : "",
             (fmt->flags & DM_FMT_RD) ? 'R' : ' ',
             (fmt->flags & DM_FMT_WR) ? 'W' : ' ',
@@ -172,7 +172,7 @@
     {
         const DMC64ImageFormat *fmt = &dmC64ImageFormats[i];
         char buf[64];
-        printf("%-5s | %c%c | %-15s | %s\n",
+        printf("%-6s| %c%c | %-15s | %s\n",
             fmt->fext,
             (fmt->flags & DM_FMT_RD) ? 'R' : ' ',
             (fmt->flags & DM_FMT_WR) ? 'W' : ' ',