From: Matthieu Moy Subject: Re: [PATCH v13 11/12] tag.c: implement '--format' option Date: Mon, 24 Aug 2015 17:14:21 +0200 Message-ID: References: <1440214788-1309-1-git-send-email-Karthik.188@gmail.com> <1440214788-1309-12-git-send-email-Karthik.188@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Git , Christian Couder , Junio C Hamano To: Karthik Nayak X-From: git-owner@vger.kernel.org Mon Aug 24 17:14:38 2015 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTtSE-0003Iv-5v for gcvg-git-2@plane.gmane.org; Mon, 24 Aug 2015 17:14:34 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754867AbbHXPO3 (ORCPT ); Mon, 24 Aug 2015 11:14:29 -0400 Received: from mx2.imag.fr ([129.88.30.17]:59729 "EHLO rominette.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754564AbbHXPO3 (ORCPT ); Mon, 24 Aug 2015 11:14:29 -0400 Received: from clopinette.imag.fr (clopinette.imag.fr [129.88.34.215]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id t7OFEKCX012198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 24 Aug 2015 17:14:20 +0200 Received: from anie.imag.fr (anie.imag.fr [129.88.7.32]) by clopinette.imag.fr (8.13.8/8.13.8) with ESMTP id t7OFEL9M032367; Mon, 24 Aug 2015 17:14:21 +0200 In-Reply-To: (Karthik Nayak's message of "Mon, 24 Aug 2015 20:37:45 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Mon, 24 Aug 2015 17:14:20 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: t7OFEKCX012198 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1441034062.34707@p/fguOua6EPut1wMAmAGHg Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Karthik Nayak writes: > On Mon, Aug 24, 2015 at 1:26 AM, Matthieu Moy > wrote: >> Karthik Nayak writes: >> >>> --- a/Documentation/git-tag.txt >>> +++ b/Documentation/git-tag.txt >>> @@ -13,7 +13,8 @@ SYNOPSIS >>> [ | ] >>> 'git tag' -d ... >>> 'git tag' [-n[]] -l [--contains ] [--points-at ] >>> - [--column[=] | --no-column] [--create-reflog] [--sort=] [...] >>> + [--column[=] | --no-column] [--create-reflog] [--sort=] >>> + [--format=] [...] >>> 'git tag' -v ... >>> >>> DESCRIPTION >>> @@ -158,6 +159,11 @@ This option is only applicable when listing tags without annotation lines. >>> The object that the new tag will refer to, usually a commit. >>> Defaults to HEAD. >>> >>> +:: >> >> Shouldn't this be --format , not just ? We usually use >> the named argument in the SYNOPSIS for positional arguments, but not for >> arguments following an option. > > This is how it was in for-each-ref Documentation, hence to keep it similar I > just put . "It's wrong in another place" sounds like an argument to fix the other place, not to get it wrong here too ;-). -- Matthieu Moy http://www-verimag.imag.fr/~moy/