aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-04-05 04:15:16 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-04 23:57:59 -0700
commit89a56bfbd3fd855cb0c2a381520e6255de41a55e (patch)
treec8053ce97194a4314934093cfdb9cabb2307647f /Documentation/git.txt
parente96f3689ecd95997a2a474c2b7f21b0a67f138b1 (diff)
downloadgit-89a56bfbd3fd855cb0c2a381520e6255de41a55e.tar.gz
git-89a56bfbd3fd855cb0c2a381520e6255de41a55e.tar.xz
add --html-path to get the location of installed HTML docs
This can be used in GUIs to open installed HTML documentation in the browser. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 7513c57c6..2ce5e6b45 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -9,7 +9,7 @@ git - the stupid content tracker
SYNOPSIS
--------
[verse]
-'git' [--version] [--exec-path[=GIT_EXEC_PATH]]
+'git' [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]
@@ -178,6 +178,10 @@ help ...`.
environment variable. If no path is given, 'git' will print
the current setting and then exit.
+--html-path::
+ Print the path to wherever your git HTML documentation is installed
+ and exit.
+
-p::
--paginate::
Pipe all output into 'less' (or if set, $PAGER).