From: Junio C Hamano Date: Wed, 15 Apr 2009 17:18:40 GMT Subject: Re: "git cat-file " shows usage but should not? Message-ID: <7vprfdvnrj.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20090415170444.GA24717@coredump.intra.peff.net> Jeff King writes: > 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 . So it should perhaps just be: >> > >> > git cat-file -t|-s|-e|-p| >> > >> > 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?