@matheusbsbs / matheus-bagliano / commits / 97f7a7bd0d
Fork 0

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>

Lars Hjemli committed Oct 26, 2006 at 21:39 UTC 97f7a7bd0d9d618e503623ded5b22eafada9e174
1 file changed +1 -1
builtin-show-ref.c
+1 -1
@@ -3,7 +3,7 @@
3 #include "object.h"
4 #include "tag.h"
5
6 -static const char show_ref_usage[] = "git show-ref [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] [-s|--hash] [--tags] [--heads] [--] [pattern*]";
6 +static const char show_ref_usage[] = "git show-ref [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] [-s|--hash[=<length>]] [--abbrev[=<length>]] [--tags] [--heads] [--] [pattern*]";
7
8 static int deref_tags = 0, show_head = 0, tags_only = 0, heads_only = 0,
9 found_match = 0, verify = 0, quiet = 0, hash_only = 0, abbrev = 0;