diff --git a/builtin-cat-file.c b/builtin-cat-file.c
index 30d00a66649f749c8cf6e657734045382bc29e13..43ffe7ffae90322d757e110d8693a936209236f0 100644 (file)
--- a/builtin-cat-file.c
+++ b/builtin-cat-file.c
break;
default:
- die("git cat-file: unknown option: %s\n", exp_type);
+ die("git cat-file: unknown option: %s", exp_type);
}
if (!buf)
}
static const char * const cat_file_usage[] = {
- "git cat-file [-t|-s|-e|-p|<type>] <sha1>",
- "git cat-file [--batch|--batch-check] < <list_of_sha1s>",
+ "git cat-file (-t|-s|-e|-p|<type>) <object>",
+ "git cat-file (--batch|--batch-check) < <list_of_objects>",
NULL
};