]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
Temporarily fix noreturn bug by creating an actual dummy return instruction after...
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index 80f242c52ea08cbc26b0143d0e617cf50d7e2d68..6a0fe1667a60a740fd7db2cd23323edaaa0c787b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -44,8 +44,8 @@ static const char *app_name;
 
 static void version() {
     con_out("GMQCC %d.%d.%d Built %s %s\n",
-        GMQCC_VERSION_MINOR,
         GMQCC_VERSION_MAJOR,
+        GMQCC_VERSION_MINOR,
         GMQCC_VERSION_PATCH,
         __DATE__,
         __TIME__
@@ -61,6 +61,7 @@ static int usage() {
     con_out("  -o, --output=file      output file, defaults to progs.dat\n"
             "  -s filename            add a progs.src file to be used\n");
     con_out("  -E                     stop after preprocessing\n");
+    con_out("  -config file           use the specified ini file\n");
     con_out("  -std=standard          select one of the following standards\n"
             "       -std=qcc          original QuakeC\n"
             "       -std=fteqcc       fteqcc QuakeC\n"
@@ -265,6 +266,7 @@ static bool options_parse(int argc, char **argv) {
                 /* debug turns on -flno */
                 case 'g':
                     opts_setflag("LNO", true);
+                    opts.g = true;
                     break;
 
                 case 'D':