about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-09-11 07:00:05 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-09-11 07:00:05 +0000
commit6e09c17757603c0ae64a9919df724d71ca8c8bf9 (patch)
tree9e4794eadcc6eb8aedae7f4bdc910dd544794836 /Doc
parenta6f583e4187a73c515bbe6214acc036034c81594 (diff)
downloadzsh-6e09c17757603c0ae64a9919df724d71ca8c8bf9.tar.gz
zsh-6e09c17757603c0ae64a9919df724d71ca8c8bf9.tar.xz
zsh-6e09c17757603c0ae64a9919df724d71ca8c8bf9.zip
19059: add -v, -V and -p flags required by POSIX to the command builtin
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo13
1 files changed, 12 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 731474555..b5217abaf 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -194,7 +194,18 @@ followed regardless of the state of the tt(CHASE_LINKS) option.
 )
 alias(chdir)(cd)
 module(clone)(zsh/clone)
-prefix(command)
+findex(command)
+item(tt(command) [ tt(-pvV) ] var(simple command))(
+The simple command argument is taken as an external command instead of
+a function or builtin and is executed. If the tt(POSIX_BUILTINS) option
+is set, builtins will also be executed but certain special properties
+of them are suppressed. The tt(-p) flag causes a default path to be
+searched instead of that in tt($path). With the tt(-v) flag, tt(command)
+is similar to tt(whence) and with tt(-V), it is equivalent to tt(whence
+-v).
+
+See also noderef(Precommand Modifiers).
+)
 module(comparguments)(zsh/computil)
 module(compcall)(zsh/compctl)
 module(compctl)(zsh/compctl)