commit 6980aad6d79d45097066eed392cd0ede9297593d from: Omar Polo date: Fri Oct 02 17:44:32 2020 UTC fix errors in manpage man -Tlint -l gmid.1 helped a lot commit - 3e4749f7f9b6c37c1870ed3c0561083de17f2197 commit + 6980aad6d79d45097066eed392cd0ede9297593d blob - 0b85f411030f07f17b20a3b88b7f3c1a2297d9b2 blob + f178680a0ddd5cef212ae2626ff98eaad3c8fdbc --- README.md +++ README.md @@ -27,10 +27,11 @@ in the requests made by clients, so it's impossible to 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 blob - 9f9dcc991d8bfa91f3da86d9634bb302097e3b4c blob + e9e070737db42ac3481eb13f0577f050bd88c4a1 --- gmid.1 +++ gmid.1 @@ -40,10 +40,11 @@ in the requests made by clients, so it's impossible to 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 < 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