From: Matthieu Moy Date: Thu, 17 Sep 2009 16:04:27 GMT Subject: Re: [PATCH] Update the usage bundle string. Message-ID: In-Reply-To: <4AB1D364.1080701@viscovery.net> Johannes Sixt writes: > Thiago Farina schrieb: > >> +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 like aligned usage strings, like: $ git stash -h Usage: git stash list [] or: git stash show [] or: git stash drop [-q|--quiet] [] or: git stash ( pop | apply ) [--index] [-q|--quiet] [] or: git stash branch [] or: git stash [save [-k|--keep-index] [-q|--quiet] []] or: git stash clear or $ git branch -h |& head -n 4 usage: git branch [options] [-r | -a] [--merged | --no-merged] or: git branch [options] [-l] [-f] [] or: git branch [options] [-r] (-d | -D) or: git branch [options] (-m | -M) [] but Git isn't very consistant here: $ git bisect -h |& head -n 6 Usage: git bisect [help|start|bad|good|skip|next|reset|visualize|replay|log|run] git bisect help print this long help message. git bisect start [ [...]] [--] [...] reset bisect state and start bisection. -- Matthieu Moy http://www-verimag.imag.fr/~moy/