diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-16 09:18:34 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-16 09:18:34 +0000 |
commit | 0082320b79b49a12a497e730bb18807cc2d69bbd (patch) | |
tree | 92c8eed8eb133d4cb190b0a803fdd1a0399f8728 /Completion/Unix/Command | |
parent | 4264cab64603cf123a5aa496389dcdb11d1faf55 (diff) | |
download | zsh-0082320b79b49a12a497e730bb18807cc2d69bbd.tar.gz zsh-0082320b79b49a12a497e730bb18807cc2d69bbd.tar.xz zsh-0082320b79b49a12a497e730bb18807cc2d69bbd.zip |
Simon Olofsson: fix matching of subversion help text
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_subversion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion index 88142d805..21d809dd1 100644 --- a/Completion/Unix/Command/_subversion +++ b/Completion/Unix/Command/_subversion @@ -48,7 +48,7 @@ _svn () { ! _retrieve_cache svn-${cmd}-args; then args=( - ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} + ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)(-##)([[:alpha:]]##) \[--([a-z-]##)\](:arg:)#/(--$match[3])$match[1]$match[2]$match[4] ($match[1]$match[2])--$match[3]$match[4]} ) _store_cache svn-${cmd}-args args fi |