aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitaf7a169637d40943e8d31fa35588170dabefcb23 (patch)
tree85577900633b11e9e84ac26a347f0970928b54c1 /man.cgi.8
parent14a91bd036b9d74a181c3317f67a585826a8fa10 (diff)
downloadmandoc-af7a169637d40943e8d31fa35588170dabefcb23.tar.gz
mandoc-af7a169637d40943e8d31fa35588170dabefcb23.tar.zst
mandoc-af7a169637d40943e8d31fa35588170dabefcb23.zip
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.88
1 files changed, 5 insertions, 3 deletions
diff --git a/man.cgi.8 b/man.cgi.8
index 7ed39794..0e1b60d6 100644
--- a/man.cgi.8
+++ b/man.cgi.8
@@ -1,4 +1,4 @@
-.\" $Id: man.cgi.8,v 1.19 2016/07/10 10:05:33 schwarze Exp $
+.\" $Id: man.cgi.8,v 1.20 2016/07/11 22:48:37 schwarze Exp $
.\"
.\" Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 10 2016 $
+.Dd $Mdocdate: July 11 2016 $
.Dt MAN.CGI 8
.Os
.Sh NAME
@@ -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