Code

Documentation: show-ref <pattern>s are optional
authorHolger Weiß <holger@zedat.fu-berlin.de>
Mon, 29 Mar 2010 11:02:37 +0000 (13:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Mar 2010 21:22:17 +0000 (14:22 -0700)
Specifying one or more <pattern> parameters is optional when calling
show-ref, so mark them as such using brackets in the manual.

Signed-off-by: Holger Weiß <holger@zedat.fu-berlin.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-show-ref.txt

index df17d49b87c260c6f5b3fd75d4aad41b77fcf8c3..3f9d9c6db39e030c82e1159043c45c834a47012c 100644 (file)
@@ -10,7 +10,7 @@ SYNOPSIS
 [verse]
 'git show-ref' [-q|--quiet] [--verify] [--head] [-d|--dereference]
             [-s|--hash[=<n>]] [--abbrev[=<n>]] [--tags]
-            [--heads] [--] <pattern>...
+            [--heads] [--] [<pattern>...]
 'git show-ref' --exclude-existing[=<pattern>] < ref-list
 
 DESCRIPTION