Commit 95111740758fc12afbc55b00d79a9f567fd4b889

Ran Benita 2020-07-25T16:36:54

tools/compile-keymap: hide --kccgst comment on public build Signed-off-by: Ran Benita <ran@unusedvar.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/tools/compile-keymap.c b/tools/compile-keymap.c
index addbb2a..d0877a6 100644
--- a/tools/compile-keymap.c
+++ b/tools/compile-keymap.c
@@ -67,8 +67,10 @@ usage(char **argv)
            " --rmlvo\n"
            "    Print the full RMLVO with the defaults filled in for missing elements\n"
            " --from-xkb\n"
-           "    Load the XKB file from stdin, ignore RMLVO options. This option\n"
-           "    must not be used with --kccgst.\n"
+           "    Load the XKB file from stdin, ignore RMLVO options.\n"
+#if ENABLE_PRIVATE_APIS
+           "    This option must not be used with --kccgst.\n"
+#endif
            " --include\n"
            "    Add the given path to the include path list. This option is\n"
            "    order-dependent, include paths given first are searched first.\n"