summaryrefslogtreecommitdiffstats
path: root/man.cgi.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-11 22:48:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-11 22:48:37 +0000
commit7c248f50d315de6e082833a448c2ce9d69b6773b (patch)
tree1455a1fc42c0b1b1082a066a597684c36bfe20d0 /man.cgi.8
parent95e4e9c963ecf42fd1eb5ad91d0867abc031fbaa (diff)
downloadmandoc-7c248f50d315de6e082833a448c2ce9d69b6773b.tar.gz
Make all components of the URI individually optional,
independent of each other, as in: http://man.openbsd.org[/manpath][/mansec][/arch]/name[.sec] The restrictions in the past kept confusing people. Triggered by a question from RafaelNeves at gmail dot com.
Diffstat (limited to 'man.cgi.8')
-rw-r--r--man.cgi.84
1 files changed, 3 insertions, 1 deletions
diff --git a/man.cgi.8 b/man.cgi.8
index 45226a57..cca77f9d 100644
--- a/man.cgi.8
+++ b/man.cgi.8
@@ -252,7 +252,9 @@ and the name of the requested file, for example
.Pa /OpenBSD-current/man1/mandoc.1 .
This can be abbreviated according to the following syntax:
.Sm off
-.Op / Ar manpath Oo / Cm man Ar sec Oc Op / Ar arch
+.Op / Ar manpath
+.Op / Cm man Ar sec
+.Op / Ar arch
.Pf / Ar name Op \&. Ar sec
.Sm on
.It