gui: Remove pointless error message for invalid command line options.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index 5b25c51..ebddd88 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1394,10 +1394,7 @@ int main(int argc, char *argv[])
        _argc = argc;
        _argv = argv;
 
-       if (gui_cmdline_parser(argc, argv, &conf)) {
-               fprintf(stderr, "parse error while reading command line\n");
-               exit(EXIT_FAILURE);
-       }
+       gui_cmdline_parser(argc, argv, &conf);
        HANDLE_VERSION_FLAG("gui", conf);
        if (check_key_map_args() < 0) {
                fprintf(stderr, "invalid key map\n");