Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and merge-config documentation
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 20, 2010, 14:10 UTC
- Message-ID
- <20100820141035.GD16190@burratino>
- In-Reply-To
- <20100820131218.GC9448@kytes>
Hi Ram,
Ramkumar Ramachandra wrote:
> I noticed that the command-line parsing framework has only OPT_BOOLEAN > and OPT_INTEGER, but no OPT_BOOLEAN_OR_INTEGER.
--no-<foo> works already with OPT_INTEGER. But for --<foo>, one needs the
{ OPTION_INTEGER, short, long, &var, "n", description,
PARSE_OPT_OPTARG, NULL, 20 },form.