diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2008-01-31 16:16:35 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-01-31 16:16:35 +0000 |
| commit | f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac (patch) | |
| tree | 668bf61ac208936623e7f65be76383c10d012159 /Completion/Unix/Command/_subversion | |
| parent | 24498: tweak to grep config.h instead of config.status for dynamic config (diff) | |
| download | zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.tar zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.tar.gz zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.tar.bz2 zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.tar.lz zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.tar.xz zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.tar.zst zsh-f6bcc6e1cdf19f35d57382e6f07ed7aece9713ac.zip | |
Christopher Key: fix for subversion help output
Diffstat (limited to 'Completion/Unix/Command/_subversion')
| -rw-r--r-- | Completion/Unix/Command/_subversion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion index 88a8f1d66..9f137fffd 100644 --- a/Completion/Unix/Command/_subversion +++ b/Completion/Unix/Command/_subversion @@ -30,7 +30,7 @@ _svn () { usage=${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"}:#usage:*}#usage:*$cmd] } args=( - ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"##*Valid options:}:#* :*}%% #:*}/ 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[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]} ) case $cmd in; @@ -148,7 +148,7 @@ _svnadmin () { usage=${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"}:#$cmd: usage:*}#$cmd: usage: svnadmin $cmd } args=( - ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"##*Valid options:}:#*:*}%% #:*}/ 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 svnadmin 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]} ) if [[ $_svnadmin_subcmd_usage == *REPOS_PATH* ]]; then args+=( ":path:_files -/" ) |
