get_ref_states: strdup entries and free util in stale list
[gitweb.git] / builtin-cat-file.c
index 991e40fb2e01155c2fb9bf875781a8222ddfc715..590684200854ad6a71653f30d494eb191fd4a324 100644 (file)
@@ -201,8 +201,8 @@ static int batch_objects(int print_contents)
 }
 
 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
 };