Tools: Add bash completions for xkbcli
[platform/upstream/libxkbcommon.git] / tools / compile-keymap.c
index d0877a6..f49aa3c 100644 (file)
@@ -58,6 +58,8 @@ usage(char **argv)
            "Compile the given RMLVO to a keymap and print it\n"
            "\n"
            "Options:\n"
+           " --help\n"
+           "    Print this help and exit\n"
            " --verbose\n"
            "    Enable verbose debugging output\n"
 #if ENABLE_PRIVATE_APIS
@@ -322,7 +324,7 @@ main(int argc, char **argv)
     };
     int rc = 1;
 
-    if (argc <= 1) {
+    if (argc < 1) {
         usage(argv);
         return EXIT_INVALID_USAGE;
     }