help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-gengetopt] Wishlist: detailed text


From: Ronny Lorenz
Subject: [help-gengetopt] Wishlist: detailed text
Date: Mon, 08 Nov 2010 11:26:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6

Hi there,

I am using gengetopt for a several wrapper programs to a bioinformatics library which implements a bunch of scientific algorithms. Since there are lots of possible switches to alter the behavior of the underlying algorithms, I was very pleased to see the possibility to give short descriptions as well as detailed descriptions for the command line options. However, I also included several text-sections within the help output for providing examples, literature references and other stuff. Since these text sections are printed in any help-context (--help as well as --detailed-help) I found the need to suppress the printing of certain text sections when standard help is requested and printing all text sections when the user requests "--detailed-help". I thought about including a new command for the gengetopt config files named "detailedtext" or similar...

So I was wondering if there would not be the need for such an option for other developers as well?!

I also got the latest version of gengetopt from the git-repository to incorporate such a command by myself but unfortunately I got stuck in understanding the way things are done in parser.cc (I guess I have to include the appropriate changes there).

Is it possible to have this feature in an upcoming release or is there any more information for me on how to patch gengetopt to do this kind of stuff?

best regards

Ronny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]