From 462dd51fb0036d702af054e4fa15290412be2af1 Mon Sep 17 00:00:00 2001 From: Anthony Heading Date: Sun, 6 Aug 2017 23:14:50 -0400 Subject: 41500: document "-" to end zparseopts options --- ChangeLog | 5 +++++ Doc/Zsh/mod_zutil.yo | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 713950f74..c224c675f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-08-07 Peter Stephenson + + * Anthony: 41500: Doc/Zsh/mod_zutil.yo: document '-' to end + zparseopts options. + 2017-08-05 Oliver Kiddle * 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 -- cgit 1.4.1