Re: [Haskell-cafe] A question regarding cmdargs package

2010-12-31 Thread Sönke Hahn
On Thursday, December 30, 2010 06:50:32 pm Neil Mitchell wrote:
 Hi Sönke,
 
 I've just released cmdargs-0.6.6 which supports helpArgs [groupname
 Something]

That was fast! Thanks a lot, works like a charm.

Thanks,
Sönke

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A question regarding cmdargs package

2010-12-30 Thread Sönke Hahn
 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.)

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A question regarding cmdargs package

2010-12-30 Thread Neil Mitchell
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 sh...@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.)


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A question regarding cmdargs package

2010-12-30 Thread Neil Mitchell
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 ndmitch...@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 sh...@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.)



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A question regarding cmdargs package

2010-10-04 Thread Arie Peterson
On Sun, 03 Oct 2010 19:18:08 +0200, Ben Franksen
ben.frank...@online.de wrote:
 How can I disable the standard arguments 'help' and 'version'?

If you're not fully committed to the cmdargs package, you might try my
package 'console-program' instead
http://hackage.haskell.org/package/console-program. It does not have
built-in --help or --version functionality. (There is a function
'showUsage' that takes the description of the command/option structure
of your program, and prints --help style usage information, but you
use this at your own discretion.)


Regards,

Arie

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] A question regarding cmdargs package

2010-10-03 Thread Ben Franksen
How can I disable the standard arguments 'help' and 'version'?

Cheers

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe