Re: [PATCH] parse-options: make OPT_NUMBER's argh explicit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 3, 2009 at 3:18 AM, René Scharfe<rene.scharfe@xxxxxxxxxxxxxx> wrote:
>
> Nice code reduction.  s/NUMBER/INTEGER/ in the commit message?

Oops. Thanks, I'll fix that.

>
> By the way, can the switch be replaced by a simple check for
> PARSE_OPT_NOARG now?
>

This looks possible. I think just set PARSE_OPT_NOARG as the flag of
the appropriate OPT_* macros. I'll have to grep the tree for custom
uses of OPTION_* though.

Should that be all squashed together? Or maybe that could be a follow up patch?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]