# HG changeset patch # User Matti Hamalainen # Date 1527508344 -10800 # Node ID 07f27ec0801e658d6a2a89040f463d5b3f1180d6 # Parent 710961d02b8a449968ba6a99265e3144cd92555b Adjust "gfxconv --formats" output. diff -r 710961d02b8a -r 07f27ec0801e tools/gfxconv.c --- 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' : ' ',