Skip to content

Commit

Permalink
[PATCH] cat-file: be consistent in usage string and documentation.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed Jul 14, 2005
1 parent 9b011b2 commit f16ebbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cat-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f16ebbd

Please sign in to comment.