Tools: Improve xkbcli help messages and manual pages

Add missing `--help` and `--short` entries.
master
Pierre Le Marre 2023-10-03 10:28:47 +02:00 committed by Wismill
parent 87dcf30126
commit 357c00b3a1
4 changed files with 9 additions and 0 deletions

View File

@ -391,6 +391,8 @@ usage(FILE *fp, char *progname)
" --enable-compose (enable Compose)\n" " --enable-compose (enable Compose)\n"
" --consumed-mode={xkb|gtk} (select the consumed modifiers mode, default: xkb)\n" " --consumed-mode={xkb|gtk} (select the consumed modifiers mode, default: xkb)\n"
" --without-x11-offset (don't add X11 keycode offset)\n" " --without-x11-offset (don't add X11 keycode offset)\n"
"Other:\n"
" --help (display this help and exit)\n"
); );
} }

View File

@ -40,6 +40,7 @@ usage(const char *progname, FILE *fp)
" --ruleset=foo .......... Load the 'foo' ruleset\n" " --ruleset=foo .......... Load the 'foo' ruleset\n"
" --skip-default-paths ... Do not load the default XKB paths\n" " --skip-default-paths ... Do not load the default XKB paths\n"
" --load-exotic .......... Load the exotic (extra) rulesets\n" " --load-exotic .......... Load the exotic (extra) rulesets\n"
" --help ................. Print this help and exit\n"
"\n" "\n"
"Trailing arguments are treated as XKB base directory installations.\n", "Trailing arguments are treated as XKB base directory installations.\n",
progname); progname);

View File

@ -34,6 +34,9 @@ The XKB layout variant
. .
.It Fl \-options Ar options .It Fl \-options Ar options
The XKB options The XKB options
.
.It Fl \-help
Print a help message and exit.
.El .El
. .
.Sh SEE ALSO .Sh SEE ALSO

View File

@ -68,6 +68,9 @@ The XKB options
Specify a keymap path. Specify a keymap path.
This option is mutually exclusive with the RMLVO options. This option is mutually exclusive with the RMLVO options.
. .
.It Fl \-short
Do not print layout nor Unicode keysym translation.
.
.It Fl \-report\-state\-changes .It Fl \-report\-state\-changes
Report changes to the keyboard state Report changes to the keyboard state
. .