Mercurial > hg > dmlib
changeset 2413:902cc22018a1
Option index adjustments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 23:20:56 +0200 |
parents | 203b0fbb05d3 |
children | 69a5af2eb1ea |
files | tools/gfxconv.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/gfxconv.c Mon Jan 13 23:13:37 2020 +0200 +++ b/tools/gfxconv.c Mon Jan 13 23:20:56 2020 +0200 @@ -178,9 +178,9 @@ { 34, 'B', "bpp" , "Bits per plane (some output formats)", OPT_ARGREQ }, { 36, 'I', "interleave" , "Interleaved/planar output (some output formats)", OPT_NONE }, { 38, 'C', "compress" , "Use compression -C <0-9>, 0 = disable, default is 9", OPT_ARGREQ }, - { 40, 'R', "remap" , "Remap output image colors (-R <(#RRGGBB|index):index>[,<..>][+remove] | -R @map.txt[+remove])", OPT_ARGREQ }, - { 42, 0, "char-rom" , "Set character ROM file to be used.", OPT_ARGREQ }, - { 44, 'p', "palette" , "Set C64 palette to be used (see list with -p help).", OPT_ARGREQ }, + { 42, 'R', "remap" , "Remap output image colors (-R <(#RRGGBB|index):index>[,<..>][+remove] | -R @map.txt[+remove])", OPT_ARGREQ }, + { 44, 0, "char-rom" , "Set character ROM file to be used.", OPT_ARGREQ }, + { 46, 'p', "palette" , "Set C64 palette to be used (see list with -p help).", OPT_ARGREQ }, }; static const int optListN = sizeof(optList) / sizeof(optList[0]); @@ -895,7 +895,7 @@ optSpec.compression = tmpUInt; break; - case 39: + case 40: { int tx0, ty0, tx1, ty1; if (strcasecmp(optArg, "auto") == 0) @@ -928,7 +928,7 @@ } break; - case 40: + case 42: if ((tmpStr = dm_strrcasecmp(optArg, "+remove")) != NULL) { optRemapRemove = TRUE; @@ -960,11 +960,11 @@ optRemapColors = TRUE; break; - case 42: + case 44: optCharROMFilename = optArg; break; - case 44: + case 46: return argHandleC64PaletteOption(optArg, &optC64Palette, &optPaletteFile); default: