changeset 2137:903effcd616b

Use only long option for char ROM.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 29 May 2019 10:24:53 +0300
parents bc2ccc575430
children fdd0fd7dc0e6
files tools/64vw.c tools/gfxconv.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/64vw.c	Wed May 29 09:11:46 2019 +0300
+++ b/tools/64vw.c	Wed May 29 10:24:53 2019 +0300
@@ -39,7 +39,7 @@
     { 6, 'i', "info",       "Print information only (no display)", OPT_NONE },
     { 7, 'l', "list",       "Output list of files that were recognized (implies -i)", OPT_NONE },
     { 8, 'p', "probe",      "Probe only (do not attempt to decode the image)", OPT_NONE },
-    { 9, 'G', "char-rom",   "Set character ROM file to be used.", OPT_ARGREQ },
+    { 9,   0, "char-rom",   "Set character ROM file to be used.", OPT_ARGREQ },
 };
 
 const int optListN = sizeof(optList) / sizeof(optList[0]);
--- a/tools/gfxconv.c	Wed May 29 09:11:46 2019 +0300
+++ b/tools/gfxconv.c	Wed May 29 10:24:53 2019 +0300
@@ -168,7 +168,7 @@
     { 14, 'I', "interleave",    "Interleaved/planar output (some output formats)", OPT_NONE },
     { 20, 'C', "compress",      "Use compression -C <0-9>, 0 = disable, default is 9", OPT_ARGREQ },
     { 16, 'R', "remap",         "Remap output image colors (-R <(#RRGGBB|index):index>[,<..>][+remove] | -R @map.txt[+remove])", OPT_ARGREQ },
-    { 21, 'G', "char-rom",      "Set character ROM file to be used.", OPT_ARGREQ },
+    { 21,   0, "char-rom",      "Set character ROM file to be used.", OPT_ARGREQ },
 };
 
 static const int optListN = sizeof(optList) / sizeof(optList[0]);