On Fri, Aug 07, 2009 at 02:05:52PM +0200, Frans Pop wrote:
> On Friday 07 August 2009, Ian Campbell wrote:
> > +while getopts d:h OPT ; do
> 
> Is getopts also supported in dash?

Yes, and in POSIX.

> Maybe it would be good to also support --help if -h is added.

getopts can't do longoptions. I'd say supporting --help is probably
not worth the extra code.

        Max


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to