help-gengetopt
[Top][All Lists]
Advanced

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

Re: [help-gengetopt] [feature-request]: Indicate mandatory options


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] [feature-request]: Indicate mandatory options
Date: Sat, 30 Sep 2006 10:32:44 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060915)

T wrote:
Hi

I noticed that the mandatory options ("required") are not indicated on the
usage help message.

you mean in the usage line?

they are shown, provided you run gengetopt with the option --long-help, e.g., the sample1:

Usage: sample1 -iINT|--int-opt=INT [-h|--help] [--full-help] [-V|--version] -sfilename|--str-opt=filename -mINT|--my-opt=INT [--flag-opt] [-F|--funct-opt] --long-opt=LONG --def-opt=STRING --enum-opt=STRING -DINT|--dependant=INT [FILES]...

is that what you meant?

Would it be a good idea to indicate which options are required from the
help message, instead of letting users try-and-error?

or do you actually mean that it is not clear which one is required in the usage string?

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     |
+-----------------------------------------------------+




reply via email to

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