summaryrefslogtreecommitdiff
path: root/builtin-show-ref.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-10-26 21:39:05 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-26 18:38:05 -0700
commit97f7a7bd0d9d618e503623ded5b22eafada9e174 (patch)
treeccd54acd8d874820650c222b58b1443063b48a72 /builtin-show-ref.c
parent5d9e8ee78b1df7a9c1b2d13c2b58628201f01f72 (diff)
downloadgit-97f7a7bd0d9d618e503623ded5b22eafada9e174.tar.gz
Fix show-ref usagestring
This describes the abbreviation possibilities for git-show-ref Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-show-ref.c')
-rw-r--r--builtin-show-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-show-ref.c b/builtin-show-ref.c
index f2912e825e..06ec400d7f 100644
--- a/builtin-show-ref.c
+++ b/builtin-show-ref.c
@@ -3,7 +3,7 @@
#include "object.h"
#include "tag.h"
-static const char show_ref_usage[] = "git show-ref [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] [-s|--hash] [--tags] [--heads] [--] [pattern*]";
+static const char show_ref_usage[] = "git show-ref [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] [-s|--hash[=<length>]] [--abbrev[=<length>]] [--tags] [--heads] [--] [pattern*]";
static int deref_tags = 0, show_head = 0, tags_only = 0, heads_only = 0,
found_match = 0, verify = 0, quiet = 0, hash_only = 0, abbrev = 0;