From: Johannes Schindelin Date: Fri, 02 Oct 2009 09:04:24 GMT Subject: Re: [PATCH 1/2] do not mangle short options which take arguments Message-ID: In-Reply-To: <20091002084359.GA8878@coredump.intra.peff.net> Hi, On Fri, 2 Oct 2009, Jeff King wrote: > On Fri, Oct 02, 2009 at 10:42:36AM +0200, Johannes Schindelin wrote: > > > > 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! Don't make me envious :-( Ciao, Dscho