summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorPhilip Oakley <philipoakley@iee.org>2019-05-15 22:47:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-16 01:44:09 (GMT)
commite55f36b8b3e1248ebdc4cddfd9b08f2e86b638fb (patch)
treeb220f2f02067b3706d481c91cc8cd30975a6c7c2 /git.c
parentaeb582a98374c094361cba1bd756dc6307432c42 (diff)
downloadgit-e55f36b8b3e1248ebdc4cddfd9b08f2e86b638fb.zip
git-e55f36b8b3e1248ebdc4cddfd9b08f2e86b638fb.tar.gz
git-e55f36b8b3e1248ebdc4cddfd9b08f2e86b638fb.tar.bz2
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 2dd5886..08b0dbd 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;