Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: getopts and long options
- X-seq: zsh-users 9355
- From: Doug Kearns <dougkearns@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: getopts and long options
- Date: Tue, 30 Aug 2005 23:55:22 +1000
- In-reply-to: <20050830101604.GA14851@DervishD>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050830101604.GA14851@DervishD>
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