]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index dee9a3293b0bc6765c81ef485265214accc0ce7a..6132978f41d9aa9eca20492849b04e38a03f0204 100644 (file)
--- a/main.c
+++ b/main.c
@@ -460,7 +460,13 @@ static bool options_parse(int argc, char **argv) {
                     }
             /* All long options without arguments */
                     else if (!strcmp(argv[0]+2, "help")) {
-                        usage();
+                        /* TODO .. map name back .. prittery print of
+                         * options and their associations.
+                         */  
+                        for (itr = 0; itr < OPTION_COUNT; itr++) {
+                            con_out("%s\n\n", opts_options_descriptions[itr]);
+                        }
+
                         exit(0);
                     }
                     else if (!strcmp(argv[0]+2, "version")) {