Proposal: fix for getOpt (missing feature)

Neil Mitchell ndmitchell at gmail.com
Mon Jun 25 18:37:29 EDT 2007


Hi Malcolm,

Doesn't -foo currently mean -f -o -o ? In that case, this will change
the behaviour.

Thanks

Neil

On 6/25/07, Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk> wrote:
> Proposal: to fix a missing feature in the Haskell implementation of GNU
> getOpt.  Currently, long option names _must_ have two dashes (e.g. --foo),
> whereas this patch permits a single dash (e.g. -foo) where there is no
> short option name to be confused with it (e.g. -f).
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
>


More information about the Libraries mailing list