From: Junio C Hamano Date: Mon, 30 Aug 2010 06:04:42 GMT Subject: Re: [PATCH v3] builtin/merge_recursive.c: Add an usage string and make use of it. Message-ID: <7vk4n8hc05.fsf@alter.siamese.dyndns.org> In-Reply-To: Thiago Farina writes: > Since cmd_merge_recursive is used to handle four different commands we need > the %s in the usage string, so the following example: > > $ git merge-subtree -h > > Will output: > usage: git merge-subtree ... -- ... > > Signed-off-by: Thiago Farina Hmm, why isn't this a single liner > - usagef("%s ... -- ...", argv[0]); > + usagef("git %s ... -- ...", argv[0]);