From 9867c4091e71e6ed69889a9bfaee07275d2fa04e Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 19 Aug 1999 11:18:05 +0000 Subject: manual/7448 --- Completion/Pbmplus/_pnmscale | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Completion/Pbmplus/_pnmscale (limited to 'Completion/Pbmplus/_pnmscale') diff --git a/Completion/Pbmplus/_pnmscale b/Completion/Pbmplus/_pnmscale new file mode 100644 index 000000000..3b56071b0 --- /dev/null +++ b/Completion/Pbmplus/_pnmscale @@ -0,0 +1,16 @@ +#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' -- cgit 1.4.1