From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Schindelin Subject: Re: [PATCH 1/4] Add a simple option parser for use by builtin-commit.c. Date: Mon, 1 Oct 2007 19:13:27 +0100 (BST) Message-ID: References: <1190868632-29287-1-git-send-email-krh@redhat.com> <20070930131133.GA11209@diku.dk> <1191255975.25093.26.camel@hinata.boston.redhat.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Jonas Fonseca , gitster@pobox.com, git@vger.kernel.org To: Kristian =?ISO-8859-1?Q?H=F8gsberg?= X-From: git-owner@vger.kernel.org Mon Oct 01 20:14:55 2007 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IcPn8-0007lw-Ve for gcvg-git-2@gmane.org; Mon, 01 Oct 2007 20:14:51 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790AbXJASOm (ORCPT ); Mon, 1 Oct 2007 14:14:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752159AbXJASOm (ORCPT ); Mon, 1 Oct 2007 14:14:42 -0400 Received: from mail.gmx.net ([213.165.64.20]:51743 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751596AbXJASOl (ORCPT ); Mon, 1 Oct 2007 14:14:41 -0400 Received: (qmail invoked by alias); 01 Oct 2007 18:14:39 -0000 Received: from wbgn013.biozentrum.uni-wuerzburg.de (EHLO openvpn-client) [132.187.25.13] by mail.gmx.net (mp030) with SMTP; 01 Oct 2007 20:14:39 +0200 X-Authenticated: #1490710 X-Provags-ID: V01U2FsdGVkX18btSQ4eoMbHQ21/QKa0V7nlvRzXGu6jLIutbskon eJKqtn05HdWP8I X-X-Sender: gene099@racer.site In-Reply-To: <1191255975.25093.26.camel@hinata.boston.redhat.com> X-Y-GMX-Trusted: 0 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Hi, On Mon, 1 Oct 2007, Kristian H?gsberg wrote: > On Sun, 2007-09-30 at 15:11 +0200, Jonas Fonseca wrote: > > > One of the last things I miss from Cogito is the nice abbreviated help > > messages that was available via '-h'. I don't know if it would be > > acceptable (at least for the main porcelain commands) to put this > > functionality into the option parser by adding a "description" member > > to struct option and have parse_options print a nice: > > > > > > > >