+ if (!strncmp(&argv[1][1], "help", 4)) {
+ return usage(app);
+ break;
+ }
+ /* compiler type selection */
+ if (!strncmp(&argv[1][1], "std=qcc" , 7 )) { opts_compiler = COMPILER_QCC; break; }
+ if (!strncmp(&argv[1][1], "std=fteqcc", 10)) { opts_compiler = COMPILER_FTEQCC; break; }
+ if (!strncmp(&argv[1][1], "std=qccx", 8 )) { opts_compiler = COMPILER_QCCX; break; }
+ if (!strncmp(&argv[1][1], "std=gmqcc", 9 )) { opts_compiler = COMPILER_GMQCC; break; }
+ if (!strncmp(&argv[1][1], "std=", 4 )) {
+ printf("invalid std selection, supported types:\n");
+ printf(" -std=qcc -- original QuakeC\n");
+ printf(" -std=ftqecc -- fteqcc QuakeC\n");
+ printf(" -std=qccx -- qccx QuakeC\n");
+ printf(" -std=gmqcc -- this compiler QuakeC (default selection)\n");
+ return 0;
+ }
+
+ /* code specific switches */
+ if (!strcmp(&argv[1][1], "fdarkplaces-stringtablebug")) {
+ opts_darkplaces_stringtablebug = 1;
+ break;
+ }
+ if (!strcmp(&argv[1][1], "fomit-nullcode")) {
+ opts_omit_nullcode = 1;
+ break;
+ }