Re: Wish: An option to show more descriptions
Lorenzo Bettini <[email protected]>
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
T wrote: > Hi > > Allow me to elaborate my wish a bit before coming to the real request. > > When programming in Perl, I use the Pod::Usage package to show the online > help. What's interesting in the Pod::Usage package is that it gives me > three level of details. One of them is to show the help for parameters > in details. > > In gengetopt, we've already have two level of details: > > 1. with the option --long-help > 2. with the option --help/--show-full-help > > But sometimes the one-line explanation from --help might not be enough > to explain things in details. However, if we put too much info in it, > the total --help would be too long, thus we'll loose our audience. > > So I wish that gengetopt can have another option to show help for parameters > in details (say, --usage). that would be great! probably --usage wouldn't be the best name? how does Pod::Usage call such an option? This would require to add also another field in the option in the .ggo file (for instance details="<very long help description>") > > What the format would be? I think Pod::Usage's format for parameter details > in the standard format. It's ok if you don't have Pod::Usage or know how to > use it. "keychain -h" produces the same format as well. Don't have keychain? > I really recommend installing it if you need to ssh to somewhere else. > > BTW, "keychain -h"'s color output is so cool. I wish we could have that > too. :-) COOOOOL!!! :-) I'm used to this format since I use Gentoo as well, and I love this output! Is it standard somehow? Because I'd really love to add it! hope to hear from you soon cheers Lorenzo -- +-----------------------------------------------------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD in Computer Science, DSI, Univ. di Firenze | | Florence - Italy (GNU/Linux User # 158233) | | http://www.lorenzobettini.it | | http://tronprog.blogspot.com BLOG | | http://www.purplesucker.com Deep Purple Cover Band | | http://www.gnu.org/software/src-highlite | | http://www.gnu.org/software/gengetopt | | http://www.lorenzobettini.it/software/gengen | | http://www.lorenzobettini.it/software/doublecpp | +-----------------------------------------------------+