Subject: Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and merge-config documentation

From: Jonathan Nieder <[email-masked]>
Date: Fri, 20 Aug 2010 09:10:35 -0500

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.