summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-04-12 03:20:28 +0000
committertjr <tjr@FreeBSD.org>2003-04-12 03:20:28 +0000
commitcc40c955880941b0feda7d8639604809f1f557eb (patch)
treef658ee6acee8ddc3cedcd90b3fd02e2f153f2296 /bin/sh/sh.1
parentd5e8438f3293ce9fa94733a04ab0cc04e934d3a8 (diff)
downloadFreeBSD-src-cc40c955880941b0feda7d8639604809f1f557eb.zip
FreeBSD-src-cc40c955880941b0feda7d8639604809f1f557eb.tar.gz
Document the -L and -P options to the cd and pwd commands as being
mutually exclusive. The fact that the most recent one specified on the command line is the one that takes effect is an implementation detail and users should not rely on this.
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r--bin/sh/sh.16
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index bc5db94..6ec1caf 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -35,7 +35,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
-.Dd May 5, 1995
+.Dd April 12, 2003
.Dt SH 1
.Os
.Sh NAME
@@ -1296,7 +1296,7 @@ with the same name as a built-in command.
List or alter key bindings for the line editor.
This command is documented in
.Xr editrc 5 .
-.It Ic cd Oo Fl LP Oc Op Ar directory
+.It Ic cd Oo Fl L | Fl P Oc Op Ar directory
Switch to the specified
.Ar directory ,
or to the directory specified in the
@@ -1627,7 +1627,7 @@ option is specified, the PID of each job is also printed.
If the
.Fl s
option is specified, only the PIDs of the jobs are printed, one per line.
-.It Ic pwd Op Fl LP
+.It Ic pwd Oo Fl L | Fl P Oc
Print the path of the current directory. The built-in command may
differ from the program of the same name because the
built-in command remembers what the current directory
OpenPOWER on IntegriCloud