From: Jeff King Date: Wed, 15 Apr 2009 17:36:41 GMT Subject: Re: "git cat-file " shows usage but should not? Message-ID: <20090415173640.GB25480@coredump.intra.peff.net> In-Reply-To: On Wed, Apr 15, 2009 at 06:33:10PM +0100, Julian Phillips wrote: > On Wed, 15 Apr 2009, Jeff King wrote: > >> static const char * const cat_file_usage[] = { >> - "git cat-file [-t|-s|-e|-p|] ", >> - "git cat-file [--batch|--batch-check] < ", >> + "git cat-file {-t|-s|-e|-p|} ", >> + "git cat-file [--batch|--batch-check] < ", > > Shouldn't that read: > > + "git cat-file {--batch|--batch-check} < ", > > since, like the previous line, you are required to supply one of the two > options? Oops, yes, it should. -Peff