commit 2b8ceea120b0fb3679e919420bae4c7cbcb7e654
parent 9efd809063c6ad0289537b4239d933a8ca9471a6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 11 May 2021 02:28:55 +0200
rewrite man page to the mdoc format
Diffstat:
M | smu.1 | | | 47 | +++++++++++++++++++++++++---------------------- |
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/smu.1 b/smu.1
@@ -1,22 +1,25 @@
-.TH smu 1 smu\-VERSION
-.SH NAME
-smu \- simple markup
-.SH SYNOPSIS
-.B smu
-.RB [ \-h ]
-.RB [ \-v ]
-.RB [ \-n ]
-.SH DESCRIPTION
-smu is a simple interpreter for a simplified markdown dialect.
-.SH OPTIONS
-.TP
-.B \-v
-prints version information to standard error, then exits.
-.TP
-.B \-h
-prints usage information to standard error, then exits.
-.TP
-.B \-n
-escapes all HTML Tags.
-.SH BUGS
-Please report any Bugs to https://github.com/Gottox/smu/issues or via mail.
+.Dd May 11, 2021
+.Dt SMU 1
+.Os
+.Sh NAME
+.Nm smu
+.Nd simple markup
+.Sh SYNOPSIS
+.Nm
+.Op Fl h
+.Op Fl n
+.Op Fl v
+.Sh DESCRIPTION
+.Nm
+is a simple interpreter for a simplified markdown dialect.
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl h
+prints usage information to stderr, then exits.
+.It Fl n
+escapes all HTML tags.
+.It Fl v
+prints version information to stderr, then exits.
+.El
+.Sh EXIT STATUS
+.Ex -std