Skip to content

Commit

Permalink
Tools: Improve xkbcli help messages and manual pages
Browse files Browse the repository at this point in the history
Add missing `--help` and `--short` entries.
  • Loading branch information
wismill committed Oct 3, 2023
1 parent 87dcf30 commit e329b3f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/interactive-evdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ usage(FILE *fp, char *progname)
" --enable-compose (enable Compose)\n"
" --consumed-mode={xkb|gtk} (select the consumed modifiers mode, default: xkb)\n"
" --without-x11-offset (don't add X11 keycode offset)\n"
"Other:\n"
" --help (display this help and exit)\n"
);
}

Expand Down
1 change: 1 addition & 0 deletions tools/registry-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ usage(const char *progname, FILE *fp)
" --ruleset=foo .......... Load the 'foo' ruleset\n"
" --skip-default-paths ... Do not load the default XKB paths\n"
" --load-exotic .......... Load the exotic (extra) rulesets\n"
" --help ................. Print this help and exit\n"
"\n"
"Trailing arguments are treated as XKB base directory installations.\n",
progname);
Expand Down
3 changes: 3 additions & 0 deletions tools/xkbcli-how-to-type.1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ The XKB layout variant
.
.It Fl \-options Ar options
The XKB options
.
.It Fl \-help
Print a help message and exit.
.El
.
.Sh SEE ALSO
Expand Down
3 changes: 3 additions & 0 deletions tools/xkbcli-interactive-evdev.1
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ The XKB options
Specify a keymap path.
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
Report changes to the keyboard state
.
Expand Down

0 comments on commit e329b3f

Please sign in to comment.