[Top][All Lists]

[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 (X11/20060915)

T wrote:

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

| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
|                        |
|  BLOG                  |
| Deep Purple Cover Band  |
|            |
|               |
|        |
|     |

reply via email to

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