summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-07-01 20:23:29 +0000
committerschwarze <schwarze@openbsd.org>2016-07-01 20:23:29 +0000
commita0cd121b5b7034cc3227810da259af4a45874497 (patch)
treef4f85637bb2444161ff35bf07bde269fa4b2874a
parentalways refer to the helo string stored on the session (diff)
downloadwireguard-openbsd-a0cd121b5b7034cc3227810da259af4a45874497.tar.xz
wireguard-openbsd-a0cd121b5b7034cc3227810da259af4a45874497.zip
Update and simplify the documentation of the -s option,
which was forgotten when implementing the new man.conf(5) format. The outdated information was originally pointed out by Andy Bradford <amb dash openbsd at bradfords dot org> on misc@. OK jmc@
-rw-r--r--usr.bin/mandoc/man.138
1 files changed, 7 insertions, 31 deletions
diff --git a/usr.bin/mandoc/man.1 b/usr.bin/mandoc/man.1
index 98dee879f91..53e8f4b3162 100644
--- a/usr.bin/mandoc/man.1
+++ b/usr.bin/mandoc/man.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: man.1,v 1.14 2015/09/21 09:58:42 schwarze Exp $
+.\" $OpenBSD: man.1,v 1.15 2016/07/01 20:23:29 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\"
.\" @(#)man.1 8.2 (Berkeley) 1/2/94
.\"
-.Dd $Mdocdate: September 21 2015 $
+.Dd $Mdocdate: July 1 2016 $
.Dt MAN 1
.Os
.Sh NAME
@@ -209,13 +209,9 @@ architecture whilst using another.
This option overrides the
.Ev MACHINE
environment variable.
-.It Xo
-.Op Fl s
-.Ar section
-.Xc
-Restricts the directories that
-.Nm
-will search to a specific section.
+.It Oo Fl s Oc Ar section
+Only select manuals from the specified
+.Ar section .
The currently available sections are:
.Pp
.Bl -tag -width "localXXX" -offset indent -compact
@@ -225,9 +221,7 @@ General commands
.It 2
System calls and error numbers.
.It 3
-Libraries.
-.It 3f
-Fortran programmer's reference guide.
+Library functions.
.It 3p
.Xr perl 1
programmer's reference guide.
@@ -238,30 +232,12 @@ File formats.
.It 6
Games.
.It 7
-Miscellaneous.
+Miscellaneous information.
.It 8
System maintenance and operation commands.
.It 9
Kernel internals.
-.It X11
-An alias for X11R6.
-.It X11R6
-X Window System.
-.It local
-Pages located in
-.Pa /usr/local .
-.It n
-Tcl/Tk commands.
.El
-.Pp
-The
-.Nm
-configuration file,
-.Xr man.conf 5 ,
-specifies the possible
-.Ar section
-values, and their search order.
-Additional sections may be specified.
.It Fl T Ar output
Select the output format.
The default is