threads / patch / 23226

patchDocumentation: show-ref <pattern>s are optional

Subject: [PATCH] Documentation: show-ref <pattern>s are optional

## tl;dr

One message between Mar 29, 2010 and Mar 29, 2010. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Holger Weiß· Mar 29, 2010, 11:02 UTC · lore

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>
---
 Documentation/git-show-ref.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Documentation/git-show-ref.txt +1 −1
diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt
index df17d49..3f9d9c6 100644
--- a/Documentation/git-show-ref.txt
+++ b/Documentation/git-show-ref.txt
@@ -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
-- 
1.7.0.3

← back to recent threads