From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karthik Nayak Subject: Re: [PATCH v13 11/12] tag.c: implement '--format' option Date: Mon, 24 Aug 2015 20:37:45 +0530 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; charset=UTF-8 Cc: Git , Christian Couder , Junio C Hamano To: Matthieu Moy X-From: git-owner@vger.kernel.org Mon Aug 24 17:08:34 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 1ZTtMN-0007Bo-QL for gcvg-git-2@plane.gmane.org; Mon, 24 Aug 2015 17:08:33 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754567AbbHXPIQ (ORCPT ); Mon, 24 Aug 2015 11:08:16 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:36314 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753820AbbHXPIP (ORCPT ); Mon, 24 Aug 2015 11:08:15 -0400 Received: by oiev193 with SMTP id v193so81995072oie.3 for ; Mon, 24 Aug 2015 08:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TLaj2DpsyczMMw09yb9Hy0TCcfchCZX79G6Bmin5Xp4=; b=fe6JVuMOCbvWzqNYqziid7PYiXdFTwhkPdC9mCHwaVDP4DcY6SUkwo4+7GODGqm2DH NSpiBzzrnSbrMMWnCB/PsfboErNBBzOnA9BjaweZ7uleoLkpELTyk7fSfN4/5lDsawfF oJ4xHEvkzVDOZDMxt3UzlX50nNJl6rH7OoU32iTiVGo6WK3VUaETSzFrmbdBiMTYICyO 98RPwmjk6vk1p2ZSBPMYJa1ecefrCSpZP1eImwzHSwDgtm0/UlsHgszIJ9ApImiFfsvR WWR7nLRvkr9TqviflvZh3bCKJk/Emoug37+SEflUdDBZ5+WHbDqDphxoPVUU1Fo2iLPb KXPQ== X-Received: by 10.202.221.4 with SMTP id u4mr2515551oig.104.1440428894725; Mon, 24 Aug 2015 08:08:14 -0700 (PDT) Received: by 10.182.59.102 with HTTP; Mon, 24 Aug 2015 08:07:45 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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 . -- Regards, Karthik Nayak