1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00
zsh/Completion/Pbmplus/_pnmscale
1999-08-19 11:18:10 +00:00

16 lines
355 B
Text

#compdef pnmscale
local scale
if [[ "$words[2]" = -* ]]; then
scale=()
else
scale=( ':scale factor:' )
fi
_arguments '-xsize:width:' '-width:width:' \
'-ysize:height:' '-height:height:' \
'-xscale:horizontal scale factor:' \
'-yscale:horizontal scale factor:' \
'-xysize:width::height:' "$scale[@]" \
':file: _pbm_file'