summary refs log tree commit diff
path: root/Doc/Zsh/builtins.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-09-03 09:33:35 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-09-03 09:33:35 +0000
commit25e363df2b5d32c9dca23d807060492206978fc3 (patch)
treeef8bda30dbe57e5a7f4b0d528845089c21ac27bf /Doc/Zsh/builtins.yo
parenta48730009255aa28931d08bec41ba6ad95e3288b (diff)
downloadzsh-25e363df2b5d32c9dca23d807060492206978fc3.tar.gz
zsh-25e363df2b5d32c9dca23d807060492206978fc3.tar.xz
zsh-25e363df2b5d32c9dca23d807060492206978fc3.zip
17602, 17603: Rationalise option handling, in particular for cd, pushd, popd.
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r--Doc/Zsh/builtins.yo9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 42e85ea1f..cec5a7dec 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -772,9 +772,9 @@ pindex(PUSHD_TO_HOME, use of)
 pindex(PUSHD_MINUS, use of)
 pindex(CDABLE_VARS, use of)
 pindex(PUSHD_SILENT, use of)
-xitem(tt(pushd) [ var(arg) ])
-xitem(tt(pushd) var(old) var(new))
-item(tt(pushd) {tt(PLUS())|tt(-)}var(n))(
+xitem(tt(pushd) [ tt(-sLP) ] [ var(arg) ])
+xitem(tt(pushd) [ tt(-sLP) ] var(old) var(new))
+item(tt(pushd) [ tt(-sLP) ] {tt(PLUS())|tt(-)}var(n))(
 Change the current directory, and push the old current directory
 onto the directory stack.  In the first form, change the
 current directory to var(arg).
@@ -795,6 +795,9 @@ of `tt(PLUS())' and `tt(-)' in this context are swapped.
 
 If the option tt(PUSHD_SILENT) is not set, the directory
 stack will be printed after a tt(pushd) is performed.
+
+The options tt(-s), tt(-L) and tt(-P) have the same meanings as for the
+tt(cd) builtin.
 )
 findex(pushln)
 item(tt(pushln) [ var(arg) ... ])(