Re: "git cat-file <sha1>" shows usage but should not?
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
> On Wed, Apr 15, 2009 at 06:56:05PM +0200, Sebastian Pipping wrote:
>
>> Jeff King wrote:
>> > That usage message is misleading. You need to use one of -t, -s, -e, -p,
>> > or <type>. So it should perhaps just be:
>> >
>> > git cat-file -t|-s|-e|-p|<type> <sha1>
>> >
>> > though that looks terribly ugly. Suggestions welcome.
>>
>> Thanks for making that clear. How about round or curly brackets?
>
> I think curly makes the most sense for grouping, though I still think it
> is a bit ugly. Patch is below.
Thanks. Doesn't this remind us of $gmane/72243, by the way?