summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: df55c9c)
raw | patch | inline | side by side (parent: df55c9c)
author | Christian Couder <chriscool@tuxfamily.org> | |
Tue, 4 Dec 2007 05:44:29 +0000 (06:44 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 4 Dec 2007 06:16:54 +0000 (22:16 -0800) |
Option -i|--info for "git-help" is documented only in the new
"git-help.txt" man page, but this new man page is referenced
from the "--help" option documentation in the "git.txt" man page.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git-help.txt" man page, but this new man page is referenced
from the "--help" option documentation in the "git.txt" man page.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-help.txt | patch | blob | history | |
Documentation/git.txt | patch | blob | history |
index a2255bc55a8241c89de18b22cb22f05b3692cda7..232daae0d957c5d3116d3ca9c6f11e760a602754 100644 (file)
SYNOPSIS
--------
-'git help' [-a|--all] [COMMAND]
+'git help' [-a|--all|-i|--info] [COMMAND]
DESCRIPTION
-----------
printed on the standard output.
If a git command is named, a manual page for that command is brought
-up. The 'man' program is used by default for this purpose.
+up. The 'man' program is used by default for this purpose, but this
+can be overriden by other options.
Note that 'git --help ...' is identical as 'git help ...' because the
former is internally converted into the latter.
Prints all the available commands on the standard output. This
option superseeds any other option.
+-i|--info::
+ Use the 'info' program to display the manual page, instead of
+ the 'man' program that is used by default.
+
Author
------
Written by Junio C Hamano <gitster@pobox.com> and the git-list
diff --git a/Documentation/git.txt b/Documentation/git.txt
index c4e6fc64949ce931d71e49a83d8cacfb1ffad01d..c4e4d24ea40a82f20cd72dfa3f66a284bc206eb3 100644 (file)
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
commands. If the option '--all' or '-a' is given then all
available commands are printed. If a git command is named this
option will bring up the manual page for that command.
++
+Other options are available to control how the manual page is
+displayed. See gitlink:git-help[1] for more information,
+because 'git --help ...' is converted internally into 'git
+help ...'.
--exec-path::
Path to wherever your core git programs are installed.