From: Johannes Sixt Date: Thu, 17 Sep 2009 06:12:52 GMT Subject: Re: [PATCH] Update the usage bundle string. Message-ID: <4AB1D364.1080701@viscovery.net> In-Reply-To: <1253136011-12011-1-git-send-email-tfransosi@gmail.com> Thiago Farina schrieb: > @@ -11,6 +11,12 @@ > > static const char *bundle_usage="git bundle (create | verify | list-heads [refname]... | unbundle [refname]... )"; Is this variable still used? Shouldn't it be removed? > +static const char builtin_bundle_usage[] = "\ > + git bundle create \n\ > + git bundle verify \n\ > + git bundle list-heads [refname...]\n\ > + git bundle unbundle [refname...]"; You indent the usage text. Do other commands do that, too? If you resend, it may be worth using this style: static const char builtin_bundle_usage[] = "git bundle create \n" "git bundle verify \n" ... i.e. not to use backslash-at-eol. > - if (argc < 3) > - usage(bundle_usage); > + if (argc < 3) > + usage(builtin_bundle_usage); This re-indentation is an accident, isn't it? -- Hannes