For literal strings, we need to use \- instead of just - as some troff
processors turn plain "-" into "proper" unicode hyphens (as opposed to
hyphen-minus), which breaks copy+paste and searching.
Ensure that .Os follows .Dt in the mdoc prologue as apparently not doing
this results in broken manpage headings with groff 1.23.
-.Dd March 6, 2021
-.Os cdecl99
.Dt CDECL99 \&1 "Cdecl99 User's Manual"
.Dt CDECL99 \&1 "Cdecl99 User's Manual"
.Sh NAME
.Nm cdecl99
.Nd Make sense of C declarations
.Sh NAME
.Nm cdecl99
.Nd Make sense of C declarations
would accept.
.Sh OPTIONS
.Bl -tag -width indent
would accept.
.Sh OPTIONS
.Bl -tag -width indent
Suppress the welcome message when starting
.Nm .
Suppress the welcome message when starting
.Nm .
Run in batch (non-interactive) mode.
Execute the commands provided on standard input as usual, but do not print any
prompts.
Exit with status 0 if and only if all commands complete successfully.
.Pp
This option implies
Run in batch (non-interactive) mode.
Execute the commands provided on standard input as usual, but do not print any
prompts.
Exit with status 0 if and only if all commands complete successfully.
.Pp
This option implies
-.Fl -quiet .
-.It Fl i , -interactive
+.Fl \-quiet .
+.It Fl i , \-interactive
Run in interactive mode. This is the default.
Run in interactive mode. This is the default.
-.It Fl e , -execute Ar command
+.It Fl e , \-execute Ar command
Execute
.Ar command
as if it were entered at the prompt, then exit.
Execute
.Ar command
as if it were entered at the prompt, then exit.
order as specified on the command line.
.Pp
This option implies
order as specified on the command line.
.Pp
This option implies
-.Fl -batch .
-.It Fl f , -file Ar file
+.Fl \-batch .
+.It Fl f , \-file Ar file
Read commands from
.Ar file
instead of standard input. If both
Read commands from
.Ar file
instead of standard input. If both
option is ignored.
.Pp
This option implies
option is ignored.
.Pp
This option implies
-.Fl -batch .
-.It Fl V , -version
+.Fl \-batch .
+.It Fl V , \-version
Print a version message and exit.
Print a version message and exit.
Print a help message and exit.
.El
.Sh COMMANDS
Print a help message and exit.
.El
.Sh COMMANDS
.Sh AUTHORS
Nick Bowler <nbowler@draconx.ca>
.Sh COPYRIGHT
.Sh AUTHORS
Nick Bowler <nbowler@draconx.ca>
.Sh COPYRIGHT
-Copyright \(co 2011, 2021 Nick Bowler
+Copyright \(co 2011, 2021, 2023 Nick Bowler
.Pp
Permission is granted to copy, distribute and/or modify this manual under the
terms of the GNU General Public License as published by the Free Software
.Pp
Permission is granted to copy, distribute and/or modify this manual under the
terms of the GNU General Public License as published by the Free Software
-.Dd July 27, 2023
-.Os cdecl99
.Dt LIBCDECL \&3 "Cdecl99 Developer's Manual"
.Dt LIBCDECL \&3 "Cdecl99 Developer's Manual"
.Sh NAME
.Nm libcdecl
.Nd C library for making sense of C declarations
.Sh NAME
.Nm libcdecl
.Nd C library for making sense of C declarations