Re: [PATCH 2/2] ls-files: fix broken --no-empty-directory
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Mar 10, 2009, 22:16 UTC
- Message-ID
- <20090310221648.GB4371@genesis.frugalware.org>
- In-Reply-To
- <20090310191111.GA27662@sigill.intra.peff.net>
On Tue, Mar 10, 2009 at 03:11:11PM -0400, Jeff King <peff@peff.net> wrote:
> which is even still a little confusing, as you get "--empty-directory" > in the usage message. But you would almost never want to use that, as it > is already the default.
Exactly, that's why I suggested the usage of PARSE_OPT_NONEG, which would avoid a new no-op option. ;-)
But I'm fine with the above patch as well, in case having the "no-" prefix in an option name is considered as an improper negation.