mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-20 22:18:02 +02:00
unposted: document zparseopts's lack of support for abbreviating long options
per workers/53520
This commit is contained in:
parent
0e369f37d6
commit
9b68cf38f0
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
2025-04-27 dana <dana@dana.is>
|
2025-04-27 dana <dana@dana.is>
|
||||||
|
|
||||||
|
* unposted: Doc/Zsh/contrib.yo, Doc/Zsh/mod_zutil.yo:
|
||||||
|
document zparseopts's lack of support for abbreviating long
|
||||||
|
options
|
||||||
|
|
||||||
* unposted: Doc/Zsh/contrib.yo: adjust zgetopt wording
|
* 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,
|
||||||
|
|
|
@ -4748,7 +4748,8 @@ Refer to the manual for util-linux's tt(getopt+LPAR()1+RPAR()) for
|
||||||
more information about the way arguments are parsed and results are
|
more information about the way arguments are parsed and results are
|
||||||
returned. Note however that this function is not intended to be a
|
returned. Note however that this function is not intended to be a
|
||||||
complete re-implementation. In particular, it omits all
|
complete re-implementation. In particular, it omits all
|
||||||
portability/compatibility features.
|
portability/compatibility features. Also, like tt(zparseopts)
|
||||||
|
itself, it does not support abbreviating long options.
|
||||||
)
|
)
|
||||||
item(tt(zkbd))(
|
item(tt(zkbd))(
|
||||||
See `Keyboard Definition'
|
See `Keyboard Definition'
|
||||||
|
|
|
@ -368,6 +368,9 @@ regardless of whether this option is in effect.
|
||||||
Lastly, when this option is active, only `tt(-)tt(-)' is treated as an
|
Lastly, when this option is active, only `tt(-)tt(-)' is treated as an
|
||||||
explicit option-parsing terminator in the parsed arguments; a single
|
explicit option-parsing terminator in the parsed arguments; a single
|
||||||
`tt(-)' is considered a normal operand.
|
`tt(-)' is considered a normal operand.
|
||||||
|
|
||||||
|
Note: Unlike most tt(getopt_long+LPAR()3+RPAR()) implementations,
|
||||||
|
tt(zparseopts) does not support abbreviating long options.
|
||||||
)
|
)
|
||||||
item(tt(-K))(
|
item(tt(-K))(
|
||||||
With this option, the arrays specified with the tt(-a) option and with the
|
With this option, the arrays specified with the tt(-a) option and with the
|
||||||
|
|
Loading…
Reference in a new issue