OSDN Git Service

rev-list: add --count to usage guide
authorLawrence Siebert <lawrencesiebert@gmail.com>
Wed, 1 Jul 2015 09:24:11 +0000 (02:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jul 2015 16:29:11 +0000 (09:29 -0700)
--count should be mentioned in the usage guide, this updates code and
documentation.

Signed-off-by: Lawrence Siebert <lawrencesiebert@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-list.txt
builtin/rev-list.c

index b10ea60..7b49c85 100644 (file)
@@ -56,6 +56,7 @@ SYNOPSIS
             [ --reverse ]
             [ --walk-reflogs ]
             [ --no-walk ] [ --do-walk ]
+            [ --count ]
             [ --use-bitmap-index ]
             <commit>... [ \-- <paths>... ]
 
index ff84a82..ee9e872 100644 (file)
@@ -42,6 +42,7 @@ static const char rev_list_usage[] =
 "    --abbrev=<n> | --no-abbrev\n"
 "    --abbrev-commit\n"
 "    --left-right\n"
+"    --count\n"
 "  special purpose:\n"
 "    --bisect\n"
 "    --bisect-vars\n"