summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorPhilip Oakley <philipoakley@iee.org>2013-04-02 23:39:48 +0100
committerJunio C Hamano <gitster@pobox.com>2013-04-02 18:11:08 -0700
commit73903d0bcb00518e508f412a1d5c482b5094587e (patch)
treeff1fb4e971f801b85132794f917725ff55095204 /git.c
parent002b726a400a1dea16c0b59ae61527a1e55799fb (diff)
downloadgit-73903d0bcb00518e508f412a1d5c482b5094587e.tar.gz
help: mention -a and -g option, and 'git help <concept>' usage.
Reword the overall help given at the end of "git help -a/-g" to mention how to get help on individual commands and concepts. Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/git.c b/git.c
index 850d3f5527..1ada169d5c 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;