Lines Matching defs:arg
174 char * arg;
184 arg = argv[argn];
185 if (*arg != '-') {
193 arg++; /* advance past switch marker character */
195 if (keymatch(arg, "bmp", 1)) {
199 } else if (keymatch(arg, "colors", 1) || keymatch(arg, "colours", 1) ||
200 keymatch(arg, "quantize", 1) || keymatch(arg, "quantise", 1)) {
211 } else if (keymatch(arg, "dct", 2)) {
224 } else if (keymatch(arg, "dither", 2)) {
237 } else if (keymatch(arg, "debug", 1) || keymatch(arg, "verbose", 1)) {
249 } else if (keymatch(arg, "fast", 1)) {
258 } else if (keymatch(arg, "gif", 1)) {
262 } else if (keymatch(arg, "grayscale", 2) || keymatch(arg, "greyscale",2)) {
266 } else if (keymatch(arg, "map", 3)) {
286 } else if (keymatch(arg, "maxmemory", 3)) {
299 } else if (keymatch(arg, "nosmooth", 3)) {
303 } else if (keymatch(arg, "onepass", 3)) {
307 } else if (keymatch(arg, "os2", 3)) {
311 } else if (keymatch(arg, "outfile", 4)) {
317 } else if (keymatch(arg, "pnm", 1) || keymatch(arg, "ppm", 1)) {
321 } else if (keymatch(arg, "rle", 1)) {
325 } else if (keymatch(arg, "scale", 1)) {
333 } else if (keymatch(arg, "targa", 1)) {
342 return argn; /* return index of next arg (file name) */