1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
zsh/Completion/Pbmplus/_pnmgamma
1999-08-19 11:18:10 +00:00

17 lines
316 B
Plaintext

#compdef pnmgamma
local ret=1
if [[ CURRENT -eq 2 ]]; then
_message 'gamma value or red gamma value'
elif [[ CURRENT -eq 3 ]]; then
_pbm_file && ret=0
_message 'green gamma value'
elif [[ CURRENT -eq 4 ]]; then
_message 'blue gamma value'
elif [[ CURRENT -eq 5 ]]; then
_pbm_file && ret=0
fi
return ret