summaryrefslogtreecommitdiff
path: root/cat-file.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-14 03:23:40 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 03:42:26 (GMT)
commitf16ebbdd1a3660c07e321057f9351e6442c947b8 (patch)
tree739e5ae2698928597100ae5db04d9f9258feab2c /cat-file.c
parent9b011b2fe5379f76c53f20b964d7a3cecb9d8c79 (diff)
downloadgit-f16ebbdd1a3660c07e321057f9351e6442c947b8.zip
git-f16ebbdd1a3660c07e321057f9351e6442c947b8.tar.gz
git-f16ebbdd1a3660c07e321057f9351e6442c947b8.tar.bz2
[PATCH] cat-file: be consistent in usage string and documentation.
Now that we have something called tag object, and a notion of "tags" stored in .git/refs/tags/ directory, the word "tagname" has become misleading in the usage string. The documentation already calls that <type>. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'cat-file.c')
-rw-r--r--cat-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cat-file.c b/cat-file.c
index fa0bb72..ef58970 100644
--- a/cat-file.c
+++ b/cat-file.c
@@ -13,7 +13,7 @@ int main(int argc, char **argv)
unsigned long size;
if (argc != 3 || get_sha1(argv[2], sha1))
- usage("git-cat-file [-t | -s | tagname] <sha1>");
+ usage("git-cat-file [-t | -s | <type>] <sha1>");
if (!strcmp("-t", argv[1]) || !strcmp("-s", argv[1])) {
if (!sha1_object_info(sha1, type,