Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] add zgetopt



On Fri 25 Apr 2025, at 23:57, dana wrote:
> this is a contrib function/script that wraps `zparseopts -G` to provide
> an interface like util-linux's getopt(1), which is extremely useful but
> not portable

i hadn't realised that `getopt -a` accepts both -foo and --foo, and
normalises them to the latter in the output

between that and the other limitations involving -a i decided i should
have held off on posting/merging this. i think i'll revert it for now so
it's not causing drama for the release

very sorry for the noise

dana




Messages sorted by: Reverse Date, Date, Thread, Author