From 19f3161e51dc880093cb71584f75b77a6084d52e Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 1 Jun 2014 15:01:37 -0700 Subject: 32634: add POSIX_ARGZERO option --- Doc/Zsh/params.yo | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Doc/Zsh/params.yo') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index c1cb9739d..5bccdc2d0 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -541,9 +541,11 @@ The exit status returned by the last command. ) vindex(0) item(tt(0) )( -The name used to invoke the current shell. If the tt(FUNCTION_ARGZERO) option -is set, this is set temporarily within a shell function to the name of the -function, and within a sourced script to the name of the script. +The name used to invoke the current shell, or as set by the tt(-c) command +line option upon invocation. If the tt(FUNCTION_ARGZERO) option is set, +tt($0) is set upon entry to a shell function to the name of the function, +and upon entry to a sourced script to the name of the script, and reset to +its previous value when the function or script returns. ) vindex(status) item(tt(status) )( -- cgit 1.4.1