Lines Matching refs:argv
30 main( int argc, char *argv[] )
52 if (strcmp(argv[next], "-i") == 0) // image file (RAW/PICT?)
53 file = argv[++next];
54 else if (strcmp(argv[next], "-n") == 0) // numbers/chars image file (RAW)
55 numsfile = argv[++next];
56 else if (strcmp(argv[next], "-oi") == 0) // output file for image
57 out = argv[++next];
58 else if (strcmp(argv[next], "-on") == 0) // output file for numbers
59 numsout = argv[++next];
63 else if (strcmp(argv[next], "-w") == 0) // image width (pixels)
64 width = strtoul(argv[++next], &ptr, 0);
65 else if (strcmp(argv[next], "-h") == 0) // image height (pixels)
66 width = strtoul(argv[++next], &ptr, 0);