summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-07-06 16:38:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-07-06 16:38:01 (GMT)
commit5cacf3d64437c235610ce4f426ce6359d483c924 (patch)
tree3868eab46e78716410d22674585bc55d2723fadb /Documentation
parent3115fe9821912f67d1774cb2e33bcb2ffc162916 (diff)
parent6e0800ef2575751f2e20d11e2cfe305304e5e9b8 (diff)
downloadgit-5cacf3d64437c235610ce4f426ce6359d483c924.zip
git-5cacf3d64437c235610ce4f426ce6359d483c924.tar.gz
git-5cacf3d64437c235610ce4f426ce6359d483c924.tar.bz2
Merge branch 'uk/rev-parse-parse-opt'
* uk/rev-parse-parse-opt: parse-opt: make PARSE_OPT_STOP_AT_NON_OPTION available to git rev-parse more tests for git rev-parse --parse-opt
Diffstat (limited to 'Documentation')
-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