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

Re: getopts and long options



On Tue, Aug 30, 2005 at 12:16:04PM +0200, DervishD wrote:

<snip>
 
>     I would prefer to use the "getopts" builtin if possible, rather
> than GNU getopt, to avoid a dependency, so: is there any 'trick' for
> "getopts" to make it accept long options or must I use GNU getopt?

Have a look at zparseopts.
 
Regards,
Doug



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