[PATCH V3 1/5] Show help: -a and -g option, and 'git help <concept>' usage.
- From
Philip Oakley <philipoakley@iee.org>
- Date
- Apr 2, 2013, 22:39 UTC
- Message-ID
- <1364942392-576-2-git-send-email-philipoakley@iee.org>
- In-Reply-To
- <1364942392-576-1-git-send-email-philipoakley@iee.org>
Prepare for the addition of the -g --guides option to git help and show that help is available for both concept guides, and commands.
Signed-off-by: Philip Oakley <philipoakley@iee.org> --- git.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/git.c b/git.c index 39ba6b1..2f8aa41 100644 --- a/git.c +++ b/git.c @@ -13,7 +13,9 @@ const char git_usage_string[] = " <command> [<args>]"; const char git_more_info_string[] = - N_("See 'git help <command>' for more information on a specific command."); + N_("'git help -a' and 'git help -g' lists available subcommands and some\n" + "concept guides. See 'git help <command>' or 'git help <concept>'\n" + "to read about a specific subcommand or concept."); static struct startup_info git_startup_info; static int use_pager = -1;
-- 1.8.1.msysgit.1