From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: [PATCH 1/2] do not mangle short options which take arguments Date: Fri, 2 Oct 2009 04:43:59 -0400 Message-ID: <20091002084359.GA8878@coredump.intra.peff.net> References: <20090925233226.GC14660@spearce.org> <20091001201648.GA12175@localhost> <20091002061159.GA24892@coredump.intra.peff.net> <20091002073628.GA9444@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Clemens Buchacher , "Shawn O. Pearce" , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Fri Oct 02 10:44:16 2009 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MtdkK-000717-Rb for gcvg-git-2@lo.gmane.org; Fri, 02 Oct 2009 10:44:13 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757335AbZJBIoD (ORCPT ); Fri, 2 Oct 2009 04:44:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754910AbZJBIoD (ORCPT ); Fri, 2 Oct 2009 04:44:03 -0400 Received: from peff.net ([208.65.91.99]:33746 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754085AbZJBIoC (ORCPT ); Fri, 2 Oct 2009 04:44:02 -0400 Received: (qmail 26867 invoked by uid 107); 2 Oct 2009 08:47:31 -0000 Received: from coredump.intra.peff.net (HELO coredump.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.40) with (AES128-SHA encrypted) SMTP; Fri, 02 Oct 2009 04:47:31 -0400 Received: by coredump.intra.peff.net (sSMTP sendmail emulation); Fri, 02 Oct 2009 04:43:59 -0400 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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! -Peff