Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _git: add missing backslash



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