xkbcomp -version (return code: 0)
xkbcomp 1.3.0
xkbcomp -help (return code: 0)
Usage: xkbcomp [options] input-file [ output-file ]
Legal options:
-?,-help Print this message
-version Print the version number
-a Show all actions
-C Create a C header file
-em1 <msg> Print <msg> before printing first error message
-emp <msg> Print <msg> at the start of each message line
-eml <msg> If there were any errors, print <msg> before exiting
-dflts Compute defaults for missing parts
-I[<dir>] Specifies a top level directory for include
directives. Multiple directories are legal.
-l [flags] List matching maps in the specified files
f: list fully specified names
h: also list hidden maps
l: long listing (show flags)
p: also list partial maps
R: recursively list subdirectories
default is all options off
-i <deviceid> Specifies device ID (not name) to compile for
-m[ap] <map> Specifies map to compile
-o <file> Specifies output file name
-opt[ional] <parts> Specifies optional components of keymap
Errors in optional parts are not fatal
<parts> can be any combination of:
c: compat map g: geometry
k: keycodes s: symbols
t: types
-R[<DIR>] Specifies the root directory for
relative path names
-synch Force synchronization
-w [<lvl>] Set warning level (0=none, 10=all)
-xkb Create an XKB source (.xkb) file
-xkm Create a compiled key map (.xkm) file