=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/man/Attic/man.1,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/man/Attic/man.1 1996/06/26 05:37:00 1.3 +++ src/usr.bin/man/Attic/man.1 1998/03/09 23:20:12 1.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: man.1,v 1.3 1996/06/26 05:37:00 deraadt Exp $ +.\" $OpenBSD: man.1,v 1.4 1998/03/09 23:20:12 millert Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,9 +33,9 @@ .\" .\" @(#)man.1 8.2 (Berkeley) 1/2/94 .\" -.Dd January 2, 1994 +.Dd March 9, 1998 .Dt MAN 1 -.Os BSD 4 +.Os .Sh NAME .Nm man .Nd display the on-line manual pages @@ -45,6 +45,8 @@ .Op Fl C Ar file .Op Fl M Ar path .Op Fl m Ar path +.Op Fl s Ar section +.Op Fl S Ar subsection .Op Ar section .Ar name Ar ... .Sh DESCRIPTION @@ -112,6 +114,14 @@ is specified by the ``_subdir'' line in the .Nm man configuration file. +.It Fl s +Another way of specifying the section, for compatibility with +.Nm man +on other operating systems. +.It Fl S +Specifies the machine-dependent subsection. This overrides the +.Ev MACHINE +environment variable. See the ``ENVIRONMENT'' section below. .It Fl w List the pathnames of the manual pages which .Nm man