]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Fix show-ref usagestring
authorLars Hjemli <hjemli@gmail.com>
Thu, 26 Oct 2006 19:39:05 +0000 (21:39 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 27 Oct 2006 01:38:05 +0000 (18:38 -0700)
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>
builtin-show-ref.c

index f2912e825ef237156811d00e11be1eb2abe63eb4..06ec400d7f3f2e589111a561a6b18da067a02f1f 100644 (file)
@@ -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;