summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>1999-12-20 14:34:29 +0000
committerasmodai <asmodai@FreeBSD.org>1999-12-20 14:34:29 +0000
commit1b1cb51117f0cef45308792f94ae176f8e77a9cb (patch)
tree3cae39f08adeb434ae359c862631e5e43be3c278 /gnu
parent6d35bd2d53c6a7ddb80ecae5e0148a58c23b73e6 (diff)
downloadFreeBSD-src-1b1cb51117f0cef45308792f94ae176f8e77a9cb.zip
FreeBSD-src-1b1cb51117f0cef45308792f94ae176f8e77a9cb.tar.gz
Update man(1) to explain how to use the section numbers.
PR: docs/15557 Submitted by: John Meshkoff <johnpipe@nwserv.com> Reviewed by: sheldonh
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/man/man.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/man/man.man b/gnu/usr.bin/man/man/man.man
index c9dcf4e..6f36fff 100644
--- a/gnu/usr.bin/man/man/man.man
+++ b/gnu/usr.bin/man/man/man.man
@@ -157,6 +157,17 @@ the man page. By default,
.Nm %pager%
is used.
.El
+.Sh EXAMPLES
+.Pp
+Normally, to look at the relevant manpage information for getopt,
+one would use:
+.Dl man getopt
+.Pp
+However, when referred to a specific section of the manual,
+such as
+.Xr getopt 3 ,
+one would use:
+.Dl man 3 getopt
.Sh SEE ALSO
.Xr apropos 1 ,
.Xr groff 1 ,
OpenPOWER on IntegriCloud