summaryrefslogtreecommitdiff
path: root/Documentation/git-rev-parse.txt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-06-13 23:58:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-06-14 00:08:37 (GMT)
commit6e0800ef2575751f2e20d11e2cfe305304e5e9b8 (patch)
treec222ae6d5b9d1a3dfa5caaca6dece9bb015f03e9 /Documentation/git-rev-parse.txt
parent824af25ace464177820fc69c19fc03ae4fc9e4b1 (diff)
downloadgit-6e0800ef2575751f2e20d11e2cfe305304e5e9b8.zip
git-6e0800ef2575751f2e20d11e2cfe305304e5e9b8.tar.gz
git-6e0800ef2575751f2e20d11e2cfe305304e5e9b8.tar.bz2
parse-opt: make PARSE_OPT_STOP_AT_NON_OPTION available to git rev-parse
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r--Documentation/git-rev-parse.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 4bbdd05..82045a2 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -30,6 +30,11 @@ OPTIONS
Only meaningful in `--parseopt` mode. Tells the option parser to echo
out the first `--` met instead of skipping it.
+--stop-at-non-option::
+ Only meaningful in `--parseopt` mode. Lets the option parser stop at
+ the first non-option argument. This can be used to parse sub-commands
+ that take options themself.
+
--sq-quote::
Use 'git-rev-parse' in shell quoting mode (see SQ-QUOTE
section below). In contrast to the `--sq` option below, this