Lines Matching refs:argv
482 int main(int argc, char* argv[]) {
487 INIT_WARGV(argc, argv);
501 if (!strcmp(argv[c], "-h") || !strcmp(argv[c], "-help")) {
504 } else if (!strcmp(argv[c], "-noicc")) {
506 } else if (!strcmp(argv[c], "-nofancy")) {
508 } else if (!strcmp(argv[c], "-nofilter")) {
510 } else if (!strcmp(argv[c], "-noalphadither")) {
512 } else if (!strcmp(argv[c], "-usebgcolor")) {
514 } else if (!strcmp(argv[c], "-dither") && c + 1 < argc) {
516 ExUtilGetInt(argv[++c], 0, &parse_error);
517 } else if (!strcmp(argv[c], "-info")) {
519 } else if (!strcmp(argv[c], "-version")) {
527 } else if (!strcmp(argv[c], "-mt")) {
529 } else if (!strcmp(argv[c], "--")) {
530 if (c < argc - 1) kParams.file_name = (const char*)GET_WARGV(argv, ++c);
532 } else if (argv[c][0] == '-') {
533 printf("Unknown option '%s'\n", argv[c]);
537 kParams.file_name = (const char*)GET_WARGV(argv, c);
613 glutInit(&argc, argv);
633 int main(int argc, const char* argv[]) {
634 fprintf(stderr, "OpenGL support not enabled in %s.\n", argv[0]);