about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-08-06 13:05:48 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-08-06 13:05:48 +0000
commita8f7d57e830f8eac90e265a566a8ff96c89c8571 (patch)
tree297f5c0c63bc5249d301ab4c46c9544df97c2037 /Doc
parent1f27cfb56eb61631a746d4a021fe680855590f93 (diff)
downloadzsh-a8f7d57e830f8eac90e265a566a8ff96c89c8571.tar.gz
zsh-a8f7d57e830f8eac90e265a566a8ff96c89c8571.tar.xz
zsh-a8f7d57e830f8eac90e265a566a8ff96c89c8571.zip
17504: note that getopts doesn't handle a single `-' as an option argument
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 39ba4812b..2d902f336 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -448,6 +448,7 @@ 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.
+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
 is expected to have an argument.  The options can be