summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnthony Heading <anthony@ajrh.net>2017-08-06 23:14:50 -0400
committerPeter Stephenson <pws@zsh.org>2017-08-07 10:15:02 +0100
commit462dd51fb0036d702af054e4fa15290412be2af1 (patch)
treedde54a20737347065d1b8a6ebf6ed6596ed763be
parent943a061ea5200e0fe84e0c5765369241321fe365 (diff)
downloadzsh-462dd51fb0036d702af054e4fa15290412be2af1.tar.gz
zsh-462dd51fb0036d702af054e4fa15290412be2af1.tar.xz
zsh-462dd51fb0036d702af054e4fa15290412be2af1.zip
41500: document "-" to end zparseopts options
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/mod_zutil.yo2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 713950f74..c224c675f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-07  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* Anthony: 41500: Doc/Zsh/mod_zutil.yo: document '-' to end
+	zparseopts options.
+
 2017-08-05  Oliver Kiddle  <opk@zsh.org>
 
 	* 41493: Completion/Unix/Command/_git: fix to not print hash
diff --git a/Doc/Zsh/mod_zutil.yo b/Doc/Zsh/mod_zutil.yo
index dc17161f1..8331eabb7 100644
--- a/Doc/Zsh/mod_zutil.yo
+++ b/Doc/Zsh/mod_zutil.yo
@@ -179,7 +179,7 @@ item(tt(zregexparse))(
 This implements some internals of the tt(_regex_arguments) function.
 )
 findex(zparseopts)
-item(tt(zparseopts) [ tt(-D) tt(-K) tt(-M) tt(-E) ] [ tt(-a) var(array) ] [ tt(-A) var(assoc) ] var(spec) ...)(
+item(tt(zparseopts) [ tt(-D) tt(-K) tt(-M) tt(-E) ] [ tt(-a) var(array) ] [ tt(-A) var(assoc) ] [ tt(-) ] var(spec) ...)(
 This builtin simplifies the parsing of options in positional parameters,
 i.e. the set of arguments given by tt($*).  Each var(spec) describes one
 option and must be of the form `var(opt)[tt(=)var(array)]'.  If an option