Re: Command line help options
- Posted by jeremy (admin) Nov 29, 2010
- 1326 views
Does that cover what you wish to do, minus the removal of the brackets for now?
Jeremy, I've started working on this module because it doesn't quite do the NO_HELP thing correctly, and while working on it I've come up with a solution that will work for all the cases presented so far. I'll try and talk on IRC with you about this (approx 12 hours from now).
You've updated from my fix this morning? It was working, maybe a better test case was needed. Thanks for taking it on. While you're working on it, if I don't get to talk to you, I was thinking it would be nice to be able to create grouped sections. This would be very easy to do. For example:
sequence opts = { "General Options:", { blah blah blah }, { blah } "Compilation Options:", { blah blah } ... ... }
The output being:
my_prog help: General Options: -blah1 Hello World -blah2 Hello World Compilation Options: -blah3 asdfasdfasdf ......
I was going to work on that tonight, but if you have ideas, I have other areas I could work on.
Jeremy