git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Haggerty <mhagger@alum.mit.edu>
To: Duy Nguyen <pclouds@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Microproject idea: new OPT_* macros for PARSE_OPT_NONEG
Date: Fri, 07 Mar 2014 08:39:27 +0100	[thread overview]
Message-ID: <531977AF.4060907@alum.mit.edu> (raw)
In-Reply-To: <CACsJy8CBVVJN3V8N_djLF4XKfTbxvdcJCnWmZJxVZOwy8AMQWA@mail.gmail.com>

On 03/07/2014 02:38 AM, Duy Nguyen wrote:
> Currently in order to avoid --[no]-xxx form we have to resort to
> declare full struct option. It'd be nice to have a set of OPT_* macros
> with PARSE_OPT_NONEG set. Find and update all "struct option []"
> declarations with the new macros (including ones that should never
> accept --no- form, but do anyway).

I added this to the list, with the following warning:

    This is more a milliproject than a microproject

because to me it feels considerably more involved than the other
microprojects.  To  complete it, the student will have to understand at
least part of the parse_options() API, which is more than a 15 minute
job by itself.

Thanks,
Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/

  reply	other threads:[~2014-03-07  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07  1:38 Microproject idea: new OPT_* macros for PARSE_OPT_NONEG Duy Nguyen
2014-03-07  7:39 ` Michael Haggerty [this message]
2014-03-07  7:54   ` Duy Nguyen
2014-03-07 19:20     ` Junio C Hamano
2014-03-12 23:37       ` Duy Nguyen
2014-03-13 19:00         ` Junio C Hamano
2014-03-13 23:34           ` Duy Nguyen

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=531977AF.4060907@alum.mit.edu \
    --to=mhagger@alum.mit.edu \
    --cc=git@vger.kernel.org \
    --cc=pclouds@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).