summaryrefslogtreecommitdiffstats
path: root/usr.bin/printenv
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-06-28 09:23:39 +0000
committertjr <tjr@FreeBSD.org>2002-06-28 09:23:39 +0000
commitc4f791d939cb4464e63f4f42ae8a8d5990ff321a (patch)
treebf7ce7d5ac6f14dd35f53e6c7135843b721126bc /usr.bin/printenv
parent9e2f5773900ea3f66d407edf7d07ee68a10643f1 (diff)
downloadFreeBSD-src-c4f791d939cb4464e63f4f42ae8a8d5990ff321a.zip
FreeBSD-src-c4f791d939cb4464e63f4f42ae8a8d5990ff321a.tar.gz
Discourage use of env(1)'s "-" flag by moving its description to the
Compatibility section of the manual page.
Diffstat (limited to 'usr.bin/printenv')
-rw-r--r--usr.bin/printenv/printenv.112
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/printenv/printenv.1 b/usr.bin/printenv/printenv.1
index a30bb5b..120918a 100644
--- a/usr.bin/printenv/printenv.1
+++ b/usr.bin/printenv/printenv.1
@@ -44,7 +44,6 @@
.Nm
.Op Ar name
.Nm env
-.Op Fl
.Op Fl i
.Op Ar name Ns = Ns Ar value ...
.Op Ar utility Oo Ar argument ... Oc
@@ -89,10 +88,6 @@ The environment inherited
by
.Nm env
is ignored completely.
-.It Fl
-Identical to the
-.Fl i
-option, available for backward compatibility.
.El
.Pp
If no utility is specified,
@@ -129,6 +124,13 @@ was found, but could not be executed.
An exit status of 127 indicates
.Ar utility
could not be found.
+.Sh COMPATIBILITY
+The
+.Nm env
+utility accepts the
+.Fl
+option as a synonym for
+.Fl i .
.Sh SEE ALSO
.Xr csh 1 ,
.Xr sh 1 ,
OpenPOWER on IntegriCloud