From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 6C2FF1F461 for ; Wed, 15 May 2019 08:11:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725966AbfEOILU (ORCPT ); Wed, 15 May 2019 04:11:20 -0400 Received: from smtp-out-3.talktalk.net ([62.24.135.67]:24119 "EHLO smtp-out-3.talktalk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbfEOILT (ORCPT ); Wed, 15 May 2019 04:11:19 -0400 Received: from localhost.localdomain ([92.1.197.142]) by smtp.talktalk.net with SMTP id Qp0PhxPE8draxQp0Ph02aP; Wed, 15 May 2019 09:11:18 +0100 X-Originating-IP: [92.1.197.142] X-Spam: 0 X-OAuthority: v=2.3 cv=QfUYQfTv c=1 sm=1 tr=0 a=gH7h/AuSNjzKVpz8AWYPeg==:117 a=gH7h/AuSNjzKVpz8AWYPeg==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=xtxXYLxNAAAA:8 a=ikB3c0VAqXzj9QMRjQMA:9 a=xts0dhWdiJbonKbuqhAr:22 a=pHzHmUro8NiASowvMSCR:22 a=nt3jZW36AmriUCFCBwmW:22 From: Philip Oakley To: Git List , Jeff King Cc: Junio C Hamano , Johannes Schindelin , Duy Nguyen , Emily Shaffer Subject: [PATCH v2] git.c: show usage for accessing the git(1) help page Date: Wed, 15 May 2019 09:11:12 +0100 Message-Id: <20190515081112.12340-1-philipoakley@iee.org> X-Mailer: git-send-email 2.21.0.windows.1.1517.gbad5f960a3.dirty In-Reply-To: <7bd330d7-81f1-52b4-52d3-b74b128af83a@iee.org> References: <7bd330d7-81f1-52b4-52d3-b74b128af83a@iee.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfF5ejfMgkcPqUzj1YzKO4ZBM88axE9RHmk7Pg1W5vXUUEHbH4bb9iuMtypKWdIUmCYlOhRI/wRt/Otk62lqK1WEXQtEZfuL5aS55+VBQWk8IjRvSvWUV KzUN8SQnHIq6D4LZJXxs9BgHes/SrBgLz45khq4b6KZ5AeSRzkPcVMXSdb4uUcWyZ4JwHxl5jBykwPdNEkoBqnwcwiZ5c29HeaKEUTwwFeyFPePwYFka5NX5 djBb6AFGbz4ZRyIiDIbJ034WpMu2IH0O0KhYh3wmSW+Xi7ASoF5+Ra1b1fj1rPzFqD7o9wldi59+mNGwT0gAmbq1Vyr39h2iwr2FlWWTS9s= Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org 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 --- This follows from the discussion <3cd065d1-9db5-f2e6-ddff-aa539746d45e@iee.org> --- git.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git.c b/git.c index 2324ac0b7e..4797941dfd 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 ' or 'git help '\n" - "to read about a specific subcommand or concept."); + "to read about a specific subcommand or concept.\n" + "Use 'git help git' for an overview of the system."); static int use_pager = -1; -- 2.21.0.windows.1.1517.gbad5f960a3.dirty