diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-07-06 20:38:01 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-06 20:38:01 +0400 |
commit | 5cacf3d64437c235610ce4f426ce6359d483c924 (patch) | |
tree | 3868eab46e78716410d22674585bc55d2723fadb /Documentation | |
parent | 3115fe9821912f67d1774cb2e33bcb2ffc162916 (diff) | |
parent | 6e0800ef2575751f2e20d11e2cfe305304e5e9b8 (diff) |
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.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 4bbdd056da..82045a2522 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 |