Re: "git cat-file <sha1>" shows usage but should not?
On Wed, Apr 15, 2009 at 06:33:10PM +0100, Julian Phillips wrote:
Show 14 quoted lines
> On Wed, 15 Apr 2009, Jeff King wrote:
>
>> 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>",
>
> Shouldn't that read:
>
> + "git cat-file {--batch|--batch-check} < <list_of_objects>",
>
> since, like the previous line, you are required to supply one of the two
> options?Oops, yes, it should.
-Peff