diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2005-04-24 18:38:01 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2005-04-24 18:38:01 +0000 |
commit | 337a2e3bfdc5fc6e8d116442cdd939b2df85f90e (patch) | |
tree | 02d26c8d96c460bebd923fbd6fb21e09f3309d54 /Doc/Zsh/builtins.yo | |
parent | d373eb8f1e27cbdcde2130c9b473bb8ca45529e6 (diff) | |
download | zsh-337a2e3bfdc5fc6e8d116442cdd939b2df85f90e.tar.gz zsh-337a2e3bfdc5fc6e8d116442cdd939b2df85f90e.tar.xz zsh-337a2e3bfdc5fc6e8d116442cdd939b2df85f90e.zip |
Minor tweak to _generic plus doc fixes for info interpretation of hyphens.
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 87b667f08..a5b6ea620 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -507,7 +507,7 @@ item(tt(getopts) var(optstring) var(name) [ var(arg) ... ])( Checks the var(arg)s for legal options. If the var(arg)s are omitted, use the positional parameters. A valid option argument begins with a `tt(PLUS())' or a `tt(-)'. An argument not beginning with -a `tt(PLUS())' or a `tt(-)', or the argument `tt(--)', ends the options. +a `tt(PLUS())' or a `tt(-)', or the argument `tt(-)tt(-)', ends the options. Note that a single `tt(-)' is not considered a valid option argument. var(optstring) contains the letters that tt(getopts) recognizes. If a letter is followed by a `tt(:)', that option @@ -1085,7 +1085,7 @@ the array. This means that example(set -A array -x -- foo) -sets tt(array) to `tt(-x -- foo)' if tt(KSH_ARRAYS) is not set, but sets +sets tt(array) to `tt(-x -)tt(- foo)' if tt(KSH_ARRAYS) is not set, but sets the array to tt(foo) and turns on the option `tt(-x)' if it is set. If the tt(-A) flag is not present, but there are arguments beyond the |