-.TH "XKBCLI\-HOW\-TO\-TYPE" "1" "" "" "libxkbcommon manual"
+.Dd July 27, 2020
+.Dt XKBCLI\-HOW\-TO\-TYPE 1
+.Os
.
-.SH "NAME"
-\fBxkbcli\-how\-to\-type\fR \- query how to type a given Unicode codepoint
+.Sh NAME
+.Nm "xkbcli how\-to\-type"
+.Nd query how to type a given Unicode codepoint
.
-.SH "SYNOPSIS"
-\fBxkbcli\fR how\-to\-type [OPTIONS] <codepoint>
+.Sh SYNOPSIS
+.Nm
+.Op options
+.Ar codepoint/keysym
.
-.SH "DESCRIPTION"
-\fBxkbcli how\-to\-type\fR prints key sequences to type the given Unicode codepoint\.
+.Sh DESCRIPTION
+.Nm
+prints the key combinations (keycode + modifiers) in the keymap's layouts which
+would produce the given Unicode codepoint.
.
-.P
-Pipe into \fBcolumn \-ts $\'\e\et\'\fR for nicely aligned output\.
+.Bl -tag -width Ds
+.It Fl \-keysym
+Treat the argument as a keysym, not a Unicode codepoint
.
-.SH "OPTIONS"
-.
-.TP
-\fB\-\-rules <rules>\fR
+.It Fl \-rules Ar rules
The XKB ruleset
.
-.TP
-\fB\-\-model <model>\fR
+.It Fl \-model Ar model
The XKB model
.
-.TP
-\fB\-\-layout <layout>\fR
+.It Fl \-layout Ar layout
The XKB layout
.
-.TP
-\fB\-\-variant <variant>\fR
+.It Fl \-variant Ar variant
The XKB layout variant
.
-.TP
-\fB\-\-options <options>\fR
+.It Fl \-options Ar options
The XKB options
.
-.SH "SEE ALSO"
-\fBxkbcli\fR(1)
+.It Fl \-help
+Print a help message and exit.
+.El
.
-.P
-The libxkbcommon online documentation at \fIhttps://xkbcommon\.org\fR
+.Sh SEE ALSO
+.Xr xkbcli 1 ,
+.Lk https://xkbcommon.org "The libxkbcommon online documentation"