fix errors in manpage

man -Tlint -l gmid.1

helped a lot
This commit is contained in:
Omar Polo 2020-10-02 19:44:32 +02:00
parent 3e4749f7f9
commit 6980aad6d7
No known key found for this signature in database
GPG Key ID: 35F98C96A1786F0D
2 changed files with 11 additions and 9 deletions

View File

@ -27,10 +27,11 @@ in the requests made by clients, so it's impossible to serve content
outside the
*docs*
directory by mistake.
Furthermore, on OpenBSD,
pledge(3)
Furthermore, on
OpenBSD,
pledge(2)
and
unveil(3)
unveil(2)
are used to ensure that
**gmid**
dosen't do anything else than read files from the given directory and
@ -78,7 +79,7 @@ To quickly getting started
EOF
$ gmid -c cert.pem -k key.pem -d docs
now you can visit gemini://localhost/ with your preferred gemini client.
now you can visit gemini://localhost/ with your preferred gemini client.
# CAVEATS

11
gmid.1
View File

@ -40,10 +40,11 @@ in the requests made by clients, so it's impossible to serve content
outside the
.Pa docs
directory by mistake.
Furthermore, on OpenBSD,
.Xr pledge 3
Furthermore, on
.Ox ,
.Xr pledge 2
and
.Xr unveil 3
.Xr unveil 2
are used to ensure that
.Nm
dosen't do anything else than read files from the given directory and
@ -72,7 +73,7 @@ The key for the certificate, by default is
.El
.Sh EXAMPLES
To quickly getting started
.Bd -literal -indent
.Bd -literal -offset indent
$ # generate a cert and a key
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem \\
-out cert.pem -days 365 -nodes
@ -82,7 +83,7 @@ $ cat <<EOF > docs/index.gmi
test paragraph...
EOF
$ gmid -c cert.pem -k key.pem -d docs
.El
.Ed
.Pp
now you can visit gemini://localhost/ with your preferred gemini client.
.Sh CAVEATS