Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

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

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:49:21

Hi Jonathan,

Jonathan Nieder writes:
Ramkumar Ramachandra wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help