comparison tools/gfxconv.c @ 1640:e9a43ee46f71

Add '-F' short option alias for '--formats'.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 28 May 2018 14:55:36 +0300
parents 07f27ec0801e
children 9181d9148654
comparison
equal deleted inserted replaced
1639:ff794644a70a 1640:e9a43ee46f71
122 { 3, 'o', "output", "Output filename", OPT_ARGREQ }, 122 { 3, 'o', "output", "Output filename", OPT_ARGREQ },
123 { 1, 'i', "informat", "Set input format (sprite[:mc:sc], char[:mc|sc], bitmap[:<bformat>], image)", OPT_ARGREQ }, 123 { 1, 'i', "informat", "Set input format (sprite[:mc:sc], char[:mc|sc], bitmap[:<bformat>], image)", OPT_ARGREQ },
124 { 2, 'm', "multicolor", "Input is multicolor / output in multicolor", OPT_NONE }, 124 { 2, 'm', "multicolor", "Input is multicolor / output in multicolor", OPT_NONE },
125 { 4, 's', "skip", "Skip bytes in input", OPT_ARGREQ }, 125 { 4, 's', "skip", "Skip bytes in input", OPT_ARGREQ },
126 { 5, 'f', "format", "Output format (see --formats)", OPT_ARGREQ }, 126 { 5, 'f', "format", "Output format (see --formats)", OPT_ARGREQ },
127 { 17, 0 , "formats", "List supported input/output formats", OPT_NONE }, 127 { 17, 'F', "formats", "List supported input/output formats", OPT_NONE },
128 { 8, 'q', "sequential", "Output sequential files (image output only)", OPT_NONE }, 128 { 8, 'q', "sequential", "Output sequential files (image output only)", OPT_NONE },
129 { 6, 'c', "colormap", "Color mappings (see below for information)", OPT_ARGREQ }, 129 { 6, 'c', "colormap", "Color mappings (see below for information)", OPT_ARGREQ },
130 { 7, 'n', "numitems", "How many 'items' to output (default: all)", OPT_ARGREQ }, 130 { 7, 'n', "numitems", "How many 'items' to output (default: all)", OPT_ARGREQ },
131 { 11, 'w', "width", "Item width (number of items per row, min 1)", OPT_ARGREQ }, 131 { 11, 'w', "width", "Item width (number of items per row, min 1)", OPT_ARGREQ },
132 { 9, 'S', "scale", "Scale output image by <n> or <x>:<y> integer factor(s). " 132 { 9, 'S', "scale", "Scale output image by <n> or <x>:<y> integer factor(s). "