From: Junio C Hamano Date: Thu, 14 Jul 2005 03:23:40 +0000 (-0700) Subject: [PATCH] cat-file: be consistent in usage string and documentation. X-Git-Tag: v0.99.1~36 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f16ebbdd1a3660c07e321057f9351e6442c947b8;p=git.git [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 . Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff --git a/cat-file.c b/cat-file.c index fa0bb722..ef58970d 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] "); + usage("git-cat-file [-t | -s | ] "); if (!strcmp("-t", argv[1]) || !strcmp("-s", argv[1])) { if (!sha1_object_info(sha1, type,