From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Oakley Subject: [PATCH 02/13] Show 'git help ' usage, with examples Date: Sat, 23 Feb 2013 23:05:50 +0000 Message-ID: <1361660761-1932-3-git-send-email-philipoakley@iee.org> References: <1361660761-1932-1-git-send-email-philipoakley@iee.org> To: GitList X-From: git-owner@vger.kernel.org Sun Feb 24 00:06:08 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9OAN-00023c-UT for gcvg-git-2@plane.gmane.org; Sun, 24 Feb 2013 00:06:04 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759351Ab3BWXFd (ORCPT ); Sat, 23 Feb 2013 18:05:33 -0500 Received: from out1.ip06ir2.opaltelecom.net ([62.24.128.242]:48474 "EHLO out1.ip06ir2.opaltelecom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758808Ab3BWXFc (ORCPT ); Sat, 23 Feb 2013 18:05:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAF1KKVFZ8rke/2dsb2JhbABFwVGBCBdzgiABBVYzCEk5EAENBhOIF756jTuBWoNAA6cigweBaQ X-IronPort-AV: E=Sophos;i="4.84,724,1355097600"; d="scan'208";a="566827535" Received: from host-89-242-185-30.as13285.net (HELO localhost) ([89.242.185.30]) by out1.ip06ir2.opaltelecom.net with ESMTP; 23 Feb 2013 23:05:30 +0000 X-Mailer: git-send-email 1.8.1.msysgit.1 In-Reply-To: <1361660761-1932-1-git-send-email-philipoakley@iee.org> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: The git(1) man page must be accessed via 'git help git' on Git for Windows as it has no 'man' command. And it prompts users to read the git(1) page, rather than hoping they follow a subsidiary link within another documentation page. The 'tutorial' is an obvious guide to suggest. Signed-off-by: Philip Oakley --- git.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git.c b/git.c index b10c18b..bf0e0de 100644 --- a/git.c +++ b/git.c @@ -13,7 +13,9 @@ const char git_usage_string[] = " []"; const char git_more_info_string[] = - N_("See 'git help ' for more information on a specific command."); + N_("See 'git help ' for more information on a specific command.\n" + "While 'git help ', will show the selected Git concept guide.\n" + "Examples: 'git help git', 'git help branch', 'git help tutorial'.."); static struct startup_info git_startup_info; static int use_pager = -1; -- 1.8.1.msysgit.1