about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-01-02 21:32:51 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-01-02 21:32:51 +0000
commit33d1439fdbf56ec100dbddfa9f7472a0da59d183 (patch)
tree4f9ef9a7d791de0a0cc865f9a0551182cfdbf4a8 /Doc
parentb83aa727ca745137817e40e766ada815beb93d88 (diff)
downloadzsh-33d1439fdbf56ec100dbddfa9f7472a0da59d183.tar.gz
zsh-33d1439fdbf56ec100dbddfa9f7472a0da59d183.tar.xz
zsh-33d1439fdbf56ec100dbddfa9f7472a0da59d183.zip
users/19667: whence -S shows intermediate steps in symlink expansion
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 38788d3c4..b4f4b6742 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1667,7 +1667,7 @@ See also the shell variable tt(STTY) for a means of initialising
 the tty before running external commands.
 )
 findex(type)
-item(tt(type) [ tt(-wfpams) ] var(name) ...)(
+item(tt(type) [ tt(-wfpamsS) ] var(name) ...)(
 Equivalent to tt(whence -v).
 )
 findex(typeset)
@@ -2083,7 +2083,7 @@ the user is potentially interested in both, so this problem is intrinsic
 to process IDs.
 )
 findex(whence)
-item(tt(whence) [ tt(-vcwfpams) ] var(name) ...)(
+item(tt(whence) [ tt(-vcwfpamsS) ] var(name) ...)(
 For each name, indicate how it would be interpreted if used as a
 command name.
 
@@ -2126,6 +2126,11 @@ of these patterns.
 item(tt(-s))(
 If a pathname contains symlinks, print the symlink-free pathname as well.
 )
+item(tt(-S))(
+As tt(-s), but if the pathname had to be resolved by following
+multiple symlinks, the intermediate steps are printed, too.  The
+symlink resolved at each step might be anywhere in the path.
+)
 enditem()
 )
 findex(where)