Re: [PATCH 1/2] do not mangle short options which take arguments
- From
Jeff King <peff@peff.net>
- Date
- Oct 2, 2009, 08:43 UTC
- Message-ID
- <20091002084359.GA8878@coredump.intra.peff.net>
- In-Reply-To
- <alpine.DEB.1.00.0910021042110.18640@intel-tinevez-2-302>
On Fri, Oct 02, 2009 at 10:42:36AM +0200, Johannes Schindelin wrote:
Show 7 quoted lines
> > Yes, we deliberately allow users to shoot themselves in the foot. But
> > they should have to use at least a long option to do it.
>
> Something like this?
> [...]
> + } else if (!strcmp(cmd, "--shoot-me-in-the-foot")) {
> + warning ("Bang, bang!");Doh! Now I have to come up with a new joke patch for the GitTogether!
-Peff