Mercurial > hg > dmlib
comparison tools/gfxconv.c @ 2505:9708182ea7f2
Improve the help texts / descriptions of few options.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 28 Apr 2020 23:24:14 +0300 |
parents | f90a97aef546 |
children | e1a71d9eaede |
comparison
equal
deleted
inserted
replaced
2504:f90a97aef546 | 2505:9708182ea7f2 |
---|---|
178 { 3, 0, "longhelp" , "Show a longer help", OPT_NONE }, | 178 { 3, 0, "longhelp" , "Show a longer help", OPT_NONE }, |
179 { 1, 0, "license" , "Print out this program's license agreement", OPT_NONE }, | 179 { 1, 0, "license" , "Print out this program's license agreement", OPT_NONE }, |
180 { 2, 'v', "verbose" , "Be more verbose", OPT_NONE }, | 180 { 2, 'v', "verbose" , "Be more verbose", OPT_NONE }, |
181 | 181 |
182 { 10, 'o', "output" , "Output filename", OPT_ARGREQ }, | 182 { 10, 'o', "output" , "Output filename", OPT_ARGREQ }, |
183 { 12, 's', "skip" , "Skip N bytes in input from start (negative value will be offset from input end)", OPT_ARGREQ }, | 183 { 12, 's', "skip" , "Skip N bytes in input from start " |
184 "(a negative value will be offset " | |
185 "from end of input data)", OPT_ARGREQ }, | |
184 { 14, 'i', "informat" , "Set input format (see --formats)", OPT_ARGREQ }, | 186 { 14, 'i', "informat" , "Set input format (see --formats)", OPT_ARGREQ }, |
185 { 16, 'f', "format" , "Set output format (see --formats)", OPT_ARGREQ }, | 187 { 16, 'f', "format" , "Set output format (see --formats)", OPT_ARGREQ }, |
186 { 18, 'F', "formats" , "List supported input/output formats", OPT_NONE }, | 188 { 18, 'F', "formats" , "List supported input/output formats", OPT_NONE }, |
187 { 20, 'q', "sequential" , "Output sequential files (image output only)", OPT_NONE }, | 189 { 20, 'q', "sequential" , "Output sequential files (image output only)", OPT_NONE }, |
188 { 22, 'm', "colormap" , "Set color map definitions (see '-m help')", OPT_ARGREQ }, | 190 { 22, 'm', "colormap" , "Set color map definitions (see '-m help')", OPT_ARGREQ }, |
189 { 24, 'n', "numitems" , "How many 'items' to output (default: all)", OPT_ARGREQ }, | 191 { 24, 'n', "numitems" , "How many 'items' to output (default: all)", OPT_ARGREQ }, |
190 { 26, 'w', "width" , "Item width (number of items per row, min 1)", OPT_ARGREQ }, | 192 { 26, 'w', "width" , "Item width (number of items per row, min 1)", OPT_ARGREQ }, |
191 { 28, 'S', "scale" , "Scale output image by specified value(s) (see '-S help')", OPT_ARGREQ }, | 193 { 28, 'S', "scale" , "Scale output image (see '-S help')", OPT_ARGREQ }, |
192 { 30, 'P', "paletted" , "Use indexed/paletted output IF possible.", OPT_NONE }, | 194 { 30, 'P', "paletted" , "Use indexed/paletted output IF possible.", OPT_NONE }, |
193 { 32, 'N', "nplanes" , "# of bitplanes (some output formats)", OPT_ARGREQ }, | 195 { 32, 'N', "nplanes" , "# of bitplanes (some output formats)", OPT_ARGREQ }, |
194 { 34, 'B', "bpp" , "Bits per plane (some output formats)", OPT_ARGREQ }, | 196 { 34, 'B', "bpp" , "Bits per plane (some output formats)", OPT_ARGREQ }, |
195 { 36, 'I', "interleave" , "Interleaved/planar output (some output formats)", OPT_NONE }, | 197 { 36, 'I', "interleave" , "Interleaved/planar output (some output formats)", OPT_NONE }, |
196 { 38, 'C', "compress" , "Use compression -C <0-9>, 0 = disable, default is 9", OPT_ARGREQ }, | 198 { 38, 'C', "compress" , "Use compression -C <0-9>, 0 = disable, default is 9. " |
199 "(Not all formats support compression and the meaning " | |
200 "apart from 0 or >= 1 depends on the format.)", OPT_ARGREQ }, | |
197 { 42, 'R', "remap" , "Remap output image colors (see '-R help')", OPT_ARGREQ }, | 201 { 42, 'R', "remap" , "Remap output image colors (see '-R help')", OPT_ARGREQ }, |
198 { 44, 0, "char-rom" , "Set character ROM file to be used.", OPT_ARGREQ }, | 202 { 44, 0, "char-rom" , "Set character ROM file to be used.", OPT_ARGREQ }, |
199 { 46, 'p', "palette" , "Set palette to be used (see '-p help'). " | 203 { 46, 'p', "palette" , "Set palette to be used (see '-p help'). " |
200 "For paletted image file input, this will replace the " | 204 "For paletted image file input, this will replace the " |
201 "image's original palette. Color remapping will not be " | 205 "image's original palette. Color remapping will not be " |