All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Johannes Sixt <j.sixt@viscovery.net>,
	Git Mailing List <git@vger.kernel.org>,
	Yaroslav Halchenko <debian@onerussian.com>
Subject: Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and merge-config documentation
Date: Fri, 20 Aug 2010 09:10:35 -0500	[thread overview]
Message-ID: <20100820141035.GD16190@burratino> (raw)
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.

  reply	other threads:[~2010-08-20 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 12:23 [PATCH 0/4] fmt-merge-msg improvements Ramkumar Ramachandra
2010-08-20 12:23 ` [PATCH 1/4] fmt-merge-msg: Make the number of log entries in commit message configurable Ramkumar Ramachandra
2010-08-20 12:23 ` [PATCH 2/4] fmt-merge-msg: Update command line options to sync with config options Ramkumar Ramachandra
2010-08-20 12:24 ` [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and merge-config documentation Ramkumar Ramachandra
2010-08-20 12:39   ` Ramkumar Ramachandra
2010-08-20 12:44     ` Johannes Sixt
2010-08-20 13:12       ` Ramkumar Ramachandra
2010-08-20 14:10         ` Jonathan Nieder [this message]
2010-08-20 15:00           ` Ramkumar Ramachandra
2010-08-20 12:24 ` [PATCH 4/4] fmt-merge-msg: Remove deprecated --summary option Ramkumar Ramachandra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100820141035.GD16190@burratino \
    --to=jrnieder@gmail.com \
    --cc=artagnon@gmail.com \
    --cc=debian@onerussian.com \
    --cc=git@vger.kernel.org \
    --cc=j.sixt@viscovery.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.