aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorPhilip Oakley <philipoakley@iee.org>2019-05-15 23:47:08 +0100
committerJunio C Hamano <gitster@pobox.com>2019-05-16 10:44:09 +0900
commite55f36b8b3e1248ebdc4cddfd9b08f2e86b638fb (patch)
treeb220f2f02067b3706d481c91cc8cd30975a6c7c2 /git.c
parentaeb582a98374c094361cba1bd756dc6307432c42 (diff)
downloadgit-e55f36b8b3e1248ebdc4cddfd9b08f2e86b638fb.tar.gz
git.c: show usage for accessing the git(1) help page
It is not immediately obvious how to use the `git help` system to show the git(1) page, with its overview and its background and coordinating material, such as environment variables. Let's simply list it as the last few words of the last usage line. 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/git.c b/git.c
index 2dd588674f..08b0dbdca9 100644
--- a/git.c
+++ b/git.c
@@ -33,7 +33,8 @@ const char git_usage_string[] =
const char git_more_info_string[] =
N_("'git help -a' and 'git help -g' list available subcommands and some\n"
"concept guides. See 'git help <command>' or 'git help <concept>'\n"
- "to read about a specific subcommand or concept.");
+ "to read about a specific subcommand or concept.\n"
+ "See 'git help git' for an overview of the system.");
static int use_pager = -1;