Re: [PATCH 1/2] do not mangle short options which take arguments
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 2, 2009, 09:04 UTC
- Message-ID
- <alpine.DEB.1.00.0910021104060.18640@intel-tinevez-2-302>
- In-Reply-To
- <20091002084359.GA8878@coredump.intra.peff.net>
Hi,
On Fri, 2 Oct 2009, Jeff King wrote:
Show 11 quoted lines
> 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