Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _git: add missing backslash
- X-seq: zsh-workers 29315
- From: Valentin Haenel <valentin.haenel@xxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: _git: add missing backslash
- Date: Wed, 18 May 2011 19:28:22 +0200
- Cc: Valentin Haenel <valentin.haenel@xxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
The completion for 'git rev-parse --parseopt[TAB]' bails out.
Signed-off-by: Valentin Haenel <valentin.haenel@xxxxxx>
---
Completion/Unix/Command/_git | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 229a025..2ebeef0 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2941,7 +2941,7 @@ _git-rev-parse () {
else
# TODO: Parse option specification?
_arguments -w -S -s \
- '(- *)'{-h,--help}'[display usage]'
+ '(- *)'{-h,--help}'[display usage]' \
'--keep-dashdash[do not skip first -- option]' \
'--stop-at-non-option[stop parsing options at first non-option argument]' \
'*:option specification' && ret=0
--
1.7.1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author