From e9fa8fddd6f06beb3b7ed67d2403ee4a74e795ef Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Sat, 12 Apr 2003 03:20:28 +0000 Subject: [PATCH] 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. --- bin/sh/sh.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index bc5db9454a5e..6ec1cafa61cb 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