does not use the '--' to stop parsing switches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ImageMagick |
New
|
Undecided
|
Unassigned | ||
imagemagick (Ubuntu) |
In Progress
|
Undecided
|
broucaries |
Bug Description
How to reproduce:
$ mkdir -p /tmp/a ; cd /tmp/a
$ for f in alpha beta -delta; do convert -size 100x100 xc: +noise Random -- $f.png; done
$ montage -- *.png gamma.jpg
Expected behaviour:
( image gamma.jpg is created )
Observed behaviour:
"montage: unrecognized option `-delta.png' @ error/montage.
What's weird is I'd expect convert to throw a similar exception when I execute:
$ convert -size 100x100 xc: +noise Random -delta.png
but it doesn't. This is what I get instead when I use '--' to stop parsing switches:
$ convert -size 100x100 xc: +noise Random -- -delta.png
convert: missing an image filename `-delta.png' @ error/convert.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: imagemagick 8:6.6.9.
ProcVersionSign
Uname: Linux 3.2.0-25-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Fri Sep 14 10:51:14 2012
ProcEnviron:
LANGUAGE=en_CA:en
TERM=xterm
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: imagemagick
UpgradeStatus: Upgraded to precise on 2012-04-28 (139 days ago)
Reported here http:// www.imagemagick .org/discourse- server/ viewtopic. php?f=3& t=23604