From: Eric Sunshine Date: Tue, 17 Mar 2015 06:51:33 GMT Subject: Re: [PATCH v4 1/2] cat-file: teach cat-file a '--literally' option Message-ID: In-Reply-To: <1426569400-8204-1-git-send-email-karthik.188@gmail.com> On Tue, Mar 17, 2015 at 1:16 AM, Karthik Nayak wrote: > diff --git a/builtin/cat-file.c b/builtin/cat-file.c > index df99df4..1625246 100644 > --- a/builtin/cat-file.c > +++ b/builtin/cat-file.c > @@ -323,8 +338,8 @@ static int batch_objects(struct batch_options *opt) > } I don't presently have time for a proper read-through, however, this popped out while quickly running my eyes over the changes. > static const char * const cat_file_usage[] = { > - N_("git cat-file (-t | -s | -e | -p | | --textconv) "), > - N_("git cat-file (--batch | --batch-check) < "), > + N_("git cat-file (-t [--literally]|-s [--literally]|-e|-p||--textconv) "), > + N_("git cat-file (--batch | --batch-check) "), The '<' in the second line before is intentional. It means that is provided via stdin. Therefore, it is incorrect to remove it. > NULL > }; >