* PATCH: _git: add missing backslash
@ 2011-05-18 17:28 Valentin Haenel
2011-05-18 22:16 ` Wayne Davison
0 siblings, 1 reply; 2+ messages in thread
From: Valentin Haenel @ 2011-05-18 17:28 UTC (permalink / raw)
To: zsh-workers; +Cc: Valentin Haenel
The completion for 'git rev-parse --parseopt[TAB]' bails out.
Signed-off-by: Valentin Haenel <valentin.haenel@gmx.de>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-18 23:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18 17:28 PATCH: _git: add missing backslash Valentin Haenel
2011-05-18 22:16 ` Wayne Davison
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).