[Haskell-cafe] A question regarding cmdargs package

Neil Mitchell ndmitchell at gmail.com
Thu Dec 30 18:50:32 CET 2010


Hi Sönke,

I've just released cmdargs-0.6.6 which supports helpArgs [groupname "Something"]

Thanks, Neil

On Thu, Dec 30, 2010 at 5:09 PM, Neil Mitchell <ndmitchell at gmail.com> wrote:
> Hi Sönke,
>
> helpArg [groupname "Something"] should work, but it sounds like it
> doesn't. I've raised a bug:
> http://code.google.com/p/ndmitchell/issues/detail?id=392
>
> I'll probably have this fixed in about a week.
>
> Thanks, Neil
>
> On Thu, Dec 30, 2010 at 4:05 PM, Sönke Hahn <shahn at cs.tu-berlin.de> wrote:
>>> That i18n is a fantastic argument - and one that really means cmdargs
>>> has no choice but to support all the attributes on help/version.
>>
>> Is it possible to change the "groupname" for the implicit "help" and "version"
>> options? I have defined some options with groupname "development flags", but I
>> would want to have another groupname for "help" and "version". (Or -- even
>> better -- have them included in the "Common flags" section. I toyed around
>> with something like 'helpArg [groupname "Something"]', but without success.
>>
>> Thanks,
>> Sönke
>>
>> (Using System.Console.CmdArgs.Implicit from cmdargs-0.6.5.)
>>
>



More information about the Haskell-Cafe mailing list