Tools: Add bash completions for xkbcli
[platform/upstream/libxkbcommon.git] / tools / xkbcli.c
index ecab655..3602fb9 100644 (file)
@@ -37,6 +37,9 @@ usage(void)
            "Global options:\n"
            "  -h, --help ...... show this help and exit\n"
            "  -V, --version ... show version information and exit\n"
+           /* WARNING: The following is parsed by the bash completion script.
+            *          Any change to the format (in particular to the indentation)
+            *          should kept in the script in sync. */
            "Commands:\n"
 #if HAVE_XKBCLI_LIST
            "  list\n"
@@ -48,14 +51,14 @@ usage(void)
            "    Interactive debugger for XKB keymaps for Wayland\n"
            "\n"
 #endif
-#if HAVE_XKBCLI_INTERACTIVE_x11
+#if HAVE_XKBCLI_INTERACTIVE_X11
            "  interactive-x11\n"
            "    Interactive debugger for XKB keymaps for X11\n"
            "\n"
 #endif
 #if HAVE_XKBCLI_INTERACTIVE_EVDEV
            "  interactive-evdev\n"
-           "    Interactive debugger for XKB keymaps for evdev (Linux)\n"
+           "    Interactive debugger for XKB keymaps for evdev\n"
            "\n"
 #endif
 #if HAVE_XKBCLI_COMPILE_KEYMAP