summaryrefslogtreecommitdiffstats
path: root/usr.bin/printenv/printenv.1
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-08-27 08:59:32 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-08-27 08:59:32 +0000
commit0e8ead5c97714e6cbc0565d9bdd85a762a86b791 (patch)
tree73c29df5b5a73926cfeb32970f03fd876d270e77 /usr.bin/printenv/printenv.1
parent5fed2c0cfaaffe1d38a13d51a5dc16c761deb174 (diff)
downloadFreeBSD-src-0e8ead5c97714e6cbc0565d9bdd85a762a86b791.zip
FreeBSD-src-0e8ead5c97714e6cbc0565d9bdd85a762a86b791.tar.gz
Add ``-i'' option, which is the same as ``-''. The -i option is the
recommended option in the manpage, but the - option remains for backward compatibility and is documented as such. PR: 13363 Reported by: James Howard <howardjp@wam.umd.edu> Reviewed by: bde
Diffstat (limited to 'usr.bin/printenv/printenv.1')
-rw-r--r--usr.bin/printenv/printenv.122
1 files changed, 16 insertions, 6 deletions
diff --git a/usr.bin/printenv/printenv.1 b/usr.bin/printenv/printenv.1
index b1ceb5a..d3f8a14 100644
--- a/usr.bin/printenv/printenv.1
+++ b/usr.bin/printenv/printenv.1
@@ -32,7 +32,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)printenv.1 8.1 (Berkeley) 6/6/93
-.\" $Id$
+.\" $Id: printenv.1,v 1.3 1999/07/12 20:23:52 nik Exp $
.\"
.Dd June 6, 1993
.Dt PRINTENV 1
@@ -45,6 +45,7 @@
.Op Ar name
.Nm env
.Op Fl
+.Op Fl i
.Op Ar name=value ...
.Op Ar command
.Sh DESCRIPTION
@@ -72,12 +73,21 @@ an environment variable,
.Ar name ,
with a value of
.Ar value .
-The option
-.Sq Fl
-causes
+.Pp
+The options are as follows:
+.Bl -tag -width indent
+.It Fl i
+Execute the
+.Ar command
+with only those environment values specified. The environment inherited
+by
.Nm env
-to completely ignore the environment
-it inherits.
+is ignored completely.
+.It Fl
+Identical to the
+.Fl i
+option, available for backward compatibility.
+.El
.Pp
If no command is specified,
.Nm env
OpenPOWER on IntegriCloud