[Bash-completion-commits] ./current r1156: Added more completions to imagemagick (thanks to Nelson A. de

David Paleino d.paleino at gmail.com
Tue Jun 24 19:42:45 UTC 2008


------------------------------------------------------------
revno: 1156
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Tue 2008-06-24 21:42:45 +0200
message:
  Added more completions to imagemagick (thanks to Nelson A. de 
  Oliveira) (Closes: #487786)
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-06-23 13:06:13 +0000
+++ b/bash_completion	2008-06-24 19:42:45 +0000
@@ -6668,30 +6668,45 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-adjoin -affine -antialias -append \
-			-authenticate -average -background -black-threshold \
-			-blue-primary -blur -border -bordercolor -channel \
-			-charcoal -chop -clip -coalesce -colorize -colors \
-			-colorspace -comment -compress -contrast -convolve \
-			-crop -cycle -debug -deconstruct -delay -density \
-			-depth -despeckle -display -dispose -dither -draw \
-			-edge -emboss -encoding -endian -enhance -equalize \
-			-extract -fill -filter -flatten -flip -flop -font \
-			-frame -fuzz -gamma -gaussian -geometry \
-			-green-primary -gravity -help -implode -intent \
-			-interlace -label -lat -level -limit -list -log -loop \
-			-map -mask -matte -median -modulate -monochrome \
-			-morph -mosaic -negate -noop -noise -normalize \
-			-opaque -ordered-dither -page -paint -ping -pointsize \
-			-preview -profile -quality -raise -random-threshold \
-			-region -raise -red-primary -render -resize -resample \
-			-roll -rotate -sample -sampling-factor -scale -scene \
-			-seed -segment -shade -sharpen -shave -shear -size \
-			-solarize -spread -stroke -strokewidth -swirl \
-			-texture -threshold -thumbnail -tile -transform \
-			-transparent -treedepth -trim -type -undercolor \
-			-units -unsharp -verbose -version -view \
-			-virtual-pixel -wave -white-point -white-threshold \
+		COMPREPLY=( $( compgen -W '-adaptive-blur -adaptive-resize \
+			-adaptive-sharpen -adjoin -affine -alpha -annotate \
+			-antialias -append -attenuate -authenticate \
+			-auto-orient -average -background -bench -bias \
+			-black-point-compensation -black-threshold \
+			-blue-primary -blur -border -bordercolor -caption \
+			-channel -charcoal -chop -clip -clip-mask -clip-path \
+			-clone -clut -coalesce -colorize -colors -colorspace \
+			-combine -comment -compose -composite -compress \
+			-contrast -contrast-stretch -convolve -crop -cycle \
+			-debug -decipher -deconstruct -define -delay -delete \
+			-density -depth -despeckle -display -dispose -distort \
+			-dither -draw -edge -emboss -encipher -encoding \
+			-endian -enhance -equalize -evaluate -extent -extract \
+			-family -fill -filter -flatten -flip -floodfill -flop \
+			-font -format -frame -fuzz -fx -gamma -gaussian-blur \
+			-geometry -gravity -green-primary -help -identify \
+			-implode -insert -intent -interlace -interpolate \
+			-label -lat -layers -level -limit -linear-stretch \
+			-liquid-rescale -list -log -loop -map -mask \
+			-mattecolor -median -modulate -monitor -monochrome \
+			-morph -mosaic -motion-blur -negate -noise -normalize \
+			-opaque -ordered-dither -orient -page -paint -ping \
+			-pointsize -polaroid -posterize -preview -print \
+			-process -profile -quality -quantize -quiet \
+			-radial-blur -raise -random-threshold -recolor \
+			-red-primary -regard-warnings -region -render -repage \
+			-resample -resize -respect-parenthesis -reverse -roll \
+			-rotate -sample -sampling-factor -scale -scene -seed \
+			-segment -separate -sepia-tone -set -shade -shadow \
+			-sharpen -shave -shear -sigmoidal-contrast -size \
+			-sketch -solarize -splice -spread -stretch -strip \
+			-stroke -strokewidth -style -swap -swirl -taint \
+			-texture -threshold -thumbnail -tile -tile-offset \
+			-tint -transform -transparent -transparent-color \
+			-transpose -transverse -treedepth -trim -type \
+			-undercolor -unique-colors -units -unsharp -verbose \
+			-version -view -vignette -virtual-pixel -wave \
+			-weight -white-point -white-threshold \
 			-write' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
 		COMPREPLY=( $( compgen -W '+adjoin +append +compress \
@@ -6714,28 +6729,42 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-affine -antialias -authenticate \
-			-background -black-threshold -blue-primary -blur \
-			-border -bordercolor -channel -charcoal -chop \
-			-colorize -colors -colorspace -comment -compress \
-			-contrast -convolve -crop -cycle -debug -delay \
-			-density -depth -despeckle -display -dispose -dither \
-			-draw -edge -emboss -encoding -endian -enhance \
-			-equalize -extract -fill -filter -flip -flop -font \
-			-format -frame -fuzz -gamma -gaussian -geometry \
-			-green-primary -implode -interlace -help -label -lat \
-			-level -limit -list -log -loop -map -mask -matte \
-			-median -modulate -monochrome -negate -noop \
-			-normalize -opaque -page -paint -fill -ordered-dither \
-			-pointsize -profile -quality -raise -random-threshold \
-			-red-primary -region -resample -resize -roll -rotate \
-			-sample -sampling-factor -scale -scene -seed -segment \
-			-shade -sharpen -shear -size -solarize -spread \
-			-stroke -strokewidth -swirl -texture -threshold \
-			-thumbnail -tile -transform -transparent -treedepth \
-			-trim -type -undercolor -units -unsharp -verbose \
-			-version -view -virtual-pixel -wave -white-point \
-			-white-threshold' -- $cur ) )
+		COMPREPLY=( $( compgen -W '-adaptive-blur -adaptive-resize \
+			-adaptive-sharpen -adjoin -affine -alpha -annotate \
+			-antialias -attenuate -authenticate -auto-orient \
+			-background -bias -black-point-compensation \
+			-black-threshold -blue-primary -blur -border \
+			-bordercolor -caption -channel -charcoal -chop -clip \
+			-clip-mask -clip-path -clut -colorize -colors \
+			-colorspace -comment -compose -compress -contrast \
+			-contrast-stretch -convolve -cycle -debug -decipher \
+			-define -delay -density -depth -despeckle -display \
+			-dispose -distort -dither -draw -edge -emboss \
+			-encipher -encoding -endian -enhance -equalize \
+			-evaluate -extent -extract -family -fill -filter \
+			-flip -floodfill -flop -font -format -frame -fuzz \
+			-gamma -gaussian-blur -geometry -gravity \
+			-green-primary -help -identify -implode -intent \
+			-interlace -interpolate -label -lat -layers -level \
+			-limit -linear-stretch -liquid-rescale -list -log \
+			-loop -mask -mattecolor -median -modulate -monitor \
+			-monochrome -motion-blur -negate -noise -normalize \
+			-opaque -ordered-dither -orient -page -paint -path \
+			-ping -pointsize -polaroid -posterize -preview -print \
+			-profile -quality -quantize -quiet -radial-blur \
+			-raise -random-threshold -recolor -red-primary \
+			-regard-warnings -region -render -repage -resample \
+			-resize -roll -rotate -sample -sampling-factor -scale \
+			-scene -seed -segment -sepia-tone -set -shade -shadow \
+			-sharpen -shave -shear -sigmoidal-contrast -size \
+			-sketch -solarize -splice -spread -stretch -strip \
+			-stroke -strokewidth -style -swirl -taint -texture \
+			-threshold -thumbnail -tile -tile-offset -tint \
+			-transform -transparent -transparent-color -transpose \
+			-transverse -treedepth -trim -type -undercolor \
+			-unique-colors -units -unsharp -verbose -version \
+			-view -vignette -virtual-pixel -wave -weight \
+			-white-point -white-threshold' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
 		COMPREPLY=( $( compgen -W '+compress +contrast +debug +dither \
 			+endian +gamma +label +map +mask +matte +negate +page \
@@ -6756,17 +6785,26 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-authenticate -backdrop -border \
-			-colormap -colors -colorspace -comment -compress \
-			-contrast -crop -debug -delay -density -depth \
-			-despeckle -display -dispose -dither -edge -endian \
-			-enhance -extract -filter -flip -flop -frame -gamma \
-			-geometry -help -immutable -interlace -label -limit \
-			-log -map -matte -monochrome -negate -noop -page \
-			-quality -raise -remote -roll -rotate -sample \
-			-sampling-factor -scene -segment -sharpen -size \
-			-texture -treedepth -trim -update -verbose -version \
-			-virtual-pixel -window -window_group -write' -- $cur))
+		COMPREPLY=( $( compgen -W '-alpha -antialias -authenticate \
+			-auto-orient -backdrop -background -border \
+			-bordercolor -borderwidth -borderwidth -channel -clip \
+			-clip-path -coalesce -colormap -colors -colorspace \
+			-comment -compress -contrast -crop -debug -decipher \
+			-define -delay -density -depth -despeckle -display \
+			-dispose -dither -edge -endian -enhance -extract \
+			-filter -flatten -flip -flop -font -foreground \
+			-format -frame -gamma -geometry -help -iconGeometry \
+			-iconic -identify -immutable -interlace -interpolate \
+			-label -limit -list -log -loop -map -mattecolor \
+			-monitor -monochrome -name -negate -page -profile \
+			-quality -quantize -quiet -raise -regard-warnings \
+			-remote -repage -resample -resize \
+			-respect-parenthesis -roll -rotate -sample \
+			-sampling-factor -scenes -seed -segment -set \
+			-shared-memory -sharpen -size -strip -texture -title \
+			-transparent-color -treedepth -trim -update \
+			-usePixmap -verbose -version -virtual-pixel -visual \
+			-window -window-group -write' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
 		COMPREPLY=( $( compgen -W '+compress +contrast +debug +dither \
 			+endian +gamma +label +map +matte +negate +page \
@@ -6787,13 +6825,21 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-authenticate -backdrop -colormap \
-			-colors -colorspace -crop -debug -delay -density \
-			-depth -display -dither -extract -gamma -geometry \
-			-help -interlace -limit -log -matte -map -monochrome \
-			-noop -pause -remote -rotate -sampling-factor -scene \
-			-size -treedepth -trim -verbose -version -visual \
-			-virtual-pixel -window' -- $cur ) )
+		COMPREPLY=( $( compgen -W '-alpha -authenticate -backdrop \
+			-background -bordercolor -borderwidth -channel \
+			-coalesce -colormap -colors -colorspace -crop -debug \
+			-decipher -define -delay -density -depth -display \
+			-dispose -dither -extract -filter -flatten -font \
+			-foreground -format -gamma -geometry -help \
+			-iconGeometry -iconic -identify -immutable -interlace \
+			-interpolate -limit -list -log -loop -map -mattecolor \
+			-mattecolor -monitor -monochrome -name -page -pause \
+			-quantize -quiet -regard-warnings -remote -repage \
+			-resample -resize -respect-parenthesis -rotate \
+			-sampling-factor -scenes -seed -set -shared-memory \
+			-size -strip -title -transparent-color -treedepth \
+			-trim -verbose -version -virtual-pixel -visual \
+			-window' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
 		COMPREPLY=( $( compgen -W '+debug +dither +gamma +map +matte' -- $cur ) )
 	else
@@ -6812,12 +6858,15 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-authenticate -debug -density \
-			-depth -extract -format -help -interlace -limit -list \
-			-log -size -sampling-factor -verbose -version \
-			-virtual-pixel' -- $cur ) )
+		COMPREPLY=( $( compgen -W '-alpha -antialias -authenticate \
+			-channel -colorspace -crop -debug -define -density \
+			-depth -extract -format -fuzz -gamma -help -interlace \
+			-interpolate -limit -list -log -monitor -ping -quiet \
+			-regard-warnings -respect-parenthesis \
+			-sampling-factor -seed -set -size -strip -units \
+			-verbose -version -virtual-pixel' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
-		COMPREPLY=( $( compgen -W '+debug ' -- $cur ) )
+		COMPREPLY=( $( compgen -W '+debug' -- $cur ) )
 	else
 		_filedir
 	fi
@@ -6834,18 +6883,25 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-adjoin -affine -authenticate \
-			-blue-primary -blur -colors -colorspace -comment \
-			-compose -compress -crop -debug -density -depth \
+		COMPREPLY=( $( compgen -W '-adjoin -affine -alpha \
+			-authenticate -background -blue-primary -blur -border \
+			-bordercolor -borderwidth -caption -channel -clone \
+			-coalesce -colors -colorspace -comment -compose \
+			-compress -crop -debug -define -density -depth \
 			-display -dispose -dither -draw -encoding -endian \
-			-extract -fill -filter -flip -flop -frame -gamma \
-			-geometry -gravity -green-primary -interlace -help \
-			-label -limit -log -matte -mode -monochrome -noop \
-			-page -pointsize -quality -red-primary -resize \
-			-rotate -sampling-factor -scene -shadow -size \
-			-stroke -texture -thumbnail -tile -transform \
-			-transparent -treedepth -trim -type -verbose \
-			-version -virtual-pixel -white-point' -- $cur ) )
+			-extract -fill -filter -flatten -flip -flop -font \
+			-format -frame -gamma -geometry -gravity \
+			-green-primary -help -identify -interlace \
+			-interpolate -label -limit -list -log -mattecolor \
+			-mode -monitor -monochrome -origin -page -pointsize \
+			-polaroid -profile -quality -quantize -quiet \
+			-red-primary -regard-warnings -repage -resize \
+			-respect-parenthesis -rotate -sampling-factor -scenes \
+			-seed -set -shadow -size -strip -stroke -texture \
+			-thumbnail -tile -title -transform -transparent \
+			-transparent-color -treedepth -trim -type -units \
+			-verbose -version -virtual-pixel \
+			-white-point' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
 		COMPREPLY=( $( compgen -W '+adjoin +compress +debug +dither \
 			+endian +gamma +label +matte +page' -- $cur ) )
@@ -6865,18 +6921,22 @@
 	_ImageMagick
 
 	if [[ "$cur" == -* ]]; then
-		COMPREPLY=( $( compgen -W '-affine -authenticate \
-			-blue-primary -colors -colorspace -comment -compose \
-			-compress -debug -density -depth -displace -display \
-			-dispose -dissolve -dither -encoding -endian -extract \
-			-filter -font -geometry -gravity -green-primary -help \
-			-interlace -label -limit -log -matte -monochrome \
-			-negate -page -profile -quality -red-primary -rotate \
-			-resize -sampling-factor -scene -sharpen -size \
-			-stegano -stereo -thumbnail -tile -transform \
-			-treedepth -type -units -unsharp -verbose -version \
-			-virtual-pixel -watermark -white-point -write' \
-			-- $cur ) )
+		COMPREPLY=( $( compgen -W '-affine -alpha -authenticate \
+			-blend -blue-primary -border -bordercolor -channel \
+			-colors -colorspace -comment -compose -compress \
+			-debug -decipher -define -density -depth -displace \
+			-display -dispose -dissolve -dither -encipher \
+			-encoding -endian -extract -filter -font -format \
+			-geometry -gravity -green-primary -help -identify \
+			-interlace -interpolate -label -limit -list -log \
+			-monitor -monochrome -negate -page -profile -quality \
+			-quantize -quiet -red-primary -regard-warnings \
+			-repage -resize -respect-parenthesis -rotate \
+			-sampling-factor -scene -seed -sharpen -shave -size \
+			-stegano -stereo -strip -swap -thumbnail -tile \
+			-transform -transparent-color -treedepth -type -units \
+			-unsharp -verbose -version -virtual-pixel -watermark \
+			-white-point -write' -- $cur ) )
 	elif [[ "$cur" == +* ]]; then
 		COMPREPLY=( $( compgen -W '+compress +debug +dither +endian +label \
 			+matte +negate +page +write' -- $cur ) )
@@ -6885,6 +6945,110 @@
 	fi
 }
 complete -F _composite $filenames composite
+
+_compare()
+{
+	local cur
+
+	COMPREPLY=()
+	cur=`_get_cword`
+
+	_ImageMagick
+
+	if [[ "$cur" == -* ]]; then
+		COMPREPLY=( $( compgen -W '-alpha -authenticate -channel \
+			-colorspace -compress -debug -decipher -define \
+			-density -depth -encipher -extract -format -fuzz \
+			-help -highlight-color -identify -interlace -limit \
+			-list -log -metric -monitor -passphrase -profile \
+			-quality -quantize -quiet -regard-warnings \
+			-respect-parenthesis -sampling-factor -seed -set \
+			-size -transparent-color -type -verbose -version \
+			-virtual-pixel' -- $cur ) )
+	elif [[ "$cur" == +* ]]; then
+		COMPREPLY=( $( compgen -W '+debug' -- $cur ) )
+	else
+		_filedir
+	fi
+}
+complete -F _compare $filenames compare
+
+_conjure()
+{
+	local cur
+
+	COMPREPLY=()
+	cur=`_get_cword`
+
+	_ImageMagick
+
+	if [[ "$cur" == -* ]]; then
+		COMPREPLY=( $( compgen -W '-debug -help -list -log -monitor \
+			-quiet -regard-warnings -seed -verbose \
+			-version' -- $cur ) )
+	elif [[ "$cur" == +* ]]; then
+		COMPREPLY=( $( compgen -W '+debug' -- $cur ) )
+	else
+		_filedir
+	fi
+}
+complete -F _conjure $filenames conjure
+
+_import()
+{
+	local cur
+
+	COMPREPLY=()
+	cur=`_get_cword`
+
+	_ImageMagick
+
+	if [[ "$cur" == -* ]]; then
+		COMPREPLY=( $( compgen -W '-adjoin -annotate -border -channel \
+			-colors -colorspace -comment -compress -crop -debug \
+			-define -delay -density -depth -descend -display \
+			-dispose -dither -encipher -encoding -endian -filter \
+			-format -frame -geometry -gravity -help -identify \
+			-interlace -interpolate -label -limit -list -log \
+			-monitor -monochrome -negate -page -pause -pointsize \
+			-quality -quantize -quiet -regard-warnings -repage \
+			-resize -respect-parenthesis -rotate -sampling-factor \
+			-scene -screen -seed -set -silent -snaps -strip \
+			-thumbnail -transparent -transparent-color -treedepth \
+			-trim -type -verbose -version -virtual-pixel \
+			-window' -- $cur ) )
+	elif [[ "$cur" == +* ]]; then
+		COMPREPLY=( $( compgen -W '+debug' -- $cur ) )
+	else
+		_filedir
+	fi
+}
+complete -F _import $filenames import
+
+_stream()
+{
+	local cur
+
+	COMPREPLY=()
+	cur=`_get_cword`
+
+	_ImageMagick
+
+	if [[ "$cur" == -* ]]; then
+		COMPREPLY=( $( compgen -W '-authenticate -channel -colorspace \
+			-compress -debug -define -density -depth -extract \ 
+			-help -identify -interlace -interpolate -limit -list \
+			-log -map -monitor -quantize -quiet -regard-warnings \
+			-respect-parenthesis -sampling-factor -seed -set \
+			-size -storage-type -transparent-color -verbose \
+			-version -virtual-pixel' -- $cur ) )
+	elif [[ "$cur" == +* ]]; then
+		COMPREPLY=( $( compgen -W '+debug' -- $cur ) )
+	else
+		_filedir
+	fi
+}
+complete -F _stream $filenames stream
 }
 
 # dd(1) completion

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-06-23 17:26:39 +0000
+++ b/debian/changelog	2008-06-24 19:42:45 +0000
@@ -1,3 +1,10 @@
+bash-completion (20080624) experimental; urgency=low
+
+  * Added more completions to imagemagick (thanks to Nelson A. de 
+    Oliveira) (Closes: #487786)
+
+ -- David Paleino <d.paleino at gmail.com>  Tue, 24 Jun 2008 21:41:48 +0200
+
 bash-completion (20080617.4) experimental; urgency=low
 
   [ David Paleino ]



More information about the Bash-completion-commits mailing list