=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/getconf/getconf.1,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/getconf/getconf.1 2010/09/03 11:09:28 1.11 +++ src/usr.bin/getconf/getconf.1 2013/03/02 05:33:41 1.12 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getconf.1,v 1.11 2010/09/03 11:09:28 jmc Exp $ +.\" $OpenBSD: getconf.1,v 1.12 2013/03/02 05:33:41 guenther Exp $ .\" $NetBSD: getconf.1,v 1.2 1996/04/20 01:15:12 jtc Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" -.Dd $Mdocdate: September 3 2010 $ +.Dd $Mdocdate: March 2 2013 $ .Dt GETCONF 1 .Os .Sh NAME @@ -41,6 +41,8 @@ .Nd get configuration values .Sh SYNOPSIS .Nm getconf +.Op Fl Ll +.Op Fl v Ar specification .Ar name .Op Ar pathname .Sh DESCRIPTION @@ -56,6 +58,27 @@ .Ar pathname argument must be supplied for system variables associated with a pathname. +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl L +List the system variables that can be used with the +.Nm +utility that require a +.Ar pathname +argument. +.It Fl l +List the system variables that can be used with the +.Nm +utility without a +.Ar pathname +argument. +.It Fl v Ar specification +Indicate a specific version and compilation environment for which +configuration variables shall be queried. +.Ox does not change behavior for different compilation environments, +so the argument to this option is only checked for validity. +.El .Sh EXIT STATUS .Ex -std getconf .Sh SEE ALSO @@ -68,3 +91,7 @@ utility is compliant with the .St -p1003.1-2008 specification. +.Pp +The flags +.Op Fl Ll +are extensions to that specification.