mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-14 17:51:28 +02:00
unposted: docs: adjust zgetopt wording
per workers/53518
This commit is contained in:
parent
84ef0c5238
commit
0e369f37d6
2 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,7 @@
|
||||||
2025-04-27 dana <dana@dana.is>
|
2025-04-27 dana <dana@dana.is>
|
||||||
|
|
||||||
|
* unposted: Doc/Zsh/contrib.yo: adjust zgetopt wording
|
||||||
|
|
||||||
* 53516: Doc/Zsh/contrib.yo, Functions/Misc/zgetopt, NEWS,
|
* 53516: Doc/Zsh/contrib.yo, Functions/Misc/zgetopt, NEWS,
|
||||||
Test/Z04zgetopt.ztst: add zgetopt contrib function
|
Test/Z04zgetopt.ztst: add zgetopt contrib function
|
||||||
|
|
||||||
|
|
|
@ -4710,13 +4710,13 @@ overwrites the caller's positional parameters. Has no meaning when
|
||||||
called as a script, in which case the parsed and quoted arguments are
|
called as a script, in which case the parsed and quoted arguments are
|
||||||
always printed to standard output. An empty string forces the
|
always printed to standard output. An empty string forces the
|
||||||
printing behaviour in either mode.)
|
printing behaviour in either mode.)
|
||||||
sitem(tt(-a))(Use Sun-style single-hyphenated long options instead of
|
sitem(tt(-a))(Use `alternative'-style single-hyphenated long options
|
||||||
GNU-style double-hyphenated ones (tt(-foo) vs tt(--foo)). Note that
|
instead of GNU-style double-hyphenated ones (tt(-foo) vs tt(--foo)).
|
||||||
long options with optional optargs can't always be distinguished
|
Note that long options with optional optargs can't always be
|
||||||
accurately from short options with optional optargs when using this
|
distinguished accurately from short options with optional optargs
|
||||||
option. Also, due to limitations of tt(zparseopts), a Sun-style long
|
when using this option. Also, due to limitations of tt(zparseopts),
|
||||||
option whose name is only one character long is always treated as a
|
a single-hyphenated long option whose name is only one character long
|
||||||
short option.)
|
is always treated as a short option.)
|
||||||
sitem(tt(-l var(spec)))(Specify long options to recognise when
|
sitem(tt(-l var(spec)))(Specify long options to recognise when
|
||||||
parsing. These should be given using just the option name (no
|
parsing. These should be given using just the option name (no
|
||||||
dashes), suffixed by `tt(:)' or `tt(::)' if it takes a mandatory or
|
dashes), suffixed by `tt(:)' or `tt(::)' if it takes a mandatory or
|
||||||
|
|
Loading…
Reference in a new issue