Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and merge-config documentation
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Aug 20, 2010, 15:00 UTC
- Message-ID
- <20100820150019.GF9448@kytes>
- In-Reply-To
- <20100820141035.GD16190@burratino>
Hi Jonathan,
Jonathan Nieder writes:
Show 12 quoted lines
> 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.Thanks, I'll re-roll with this fix.
-- Ram