diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-15 12:01:46 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-15 12:01:46 +0000 |
| commit | 35b2633ad941966f5fca07b625a594a5b68c0fdb (patch) | |
| tree | b54740d014e594ba5d81931cdcdb3387bcf9dfca /Completion/User/_pbm | |
| parent | zsh-workers/8640 (diff) | |
| download | zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.gz zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.bz2 zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.lz zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.xz zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.tar.zst zsh-35b2633ad941966f5fca07b625a594a5b68c0fdb.zip | |
manual/8639
Diffstat (limited to 'Completion/User/_pbm')
| -rw-r--r-- | Completion/User/_pbm | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Completion/User/_pbm b/Completion/User/_pbm index c697ebaa6..9eecd0390 100644 --- a/Completion/User/_pbm +++ b/Completion/User/_pbm @@ -254,8 +254,7 @@ pgmtoppm) fi _x_color && ret=0 - _description expl option - compadd "$expl[@]" - -map && ret=0 + _wanted options expl option && compadd "$expl[@]" - -map && ret=0 return ret elif [[ CURRENT -eq 3 && "$words[2]" = -map ]]; then @@ -591,12 +590,12 @@ ppmquant) fi if [[ CURRENT -eq 2 ]]; then - _description expl option - if [[ -n "$opt" ]]; then - compadd "$expl[@]" - -map -fs -floyd && ret=0 - else - compadd "$expl[@]" - -map && ret=0 - fi + _wanted options expl option && + if [[ -n "$opt" ]]; then + compadd "$expl[@]" - -map -fs -floyd && ret=0 + else + compadd "$expl[@]" - -map && ret=0 + fi _message 'number of colors' return ret |
