import --help requires an X server
Posted: 2009-07-30T10:55:18-07:00
from ttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533494
A user this:
$ import --help
import: unable to open X server `'.
he was going to report this as an error, because no X11 messages need
be sent in order to print help information. But when cross-checking, he found that
$ import --help
Version: ImageMagick 6.3.7 03/14/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
[...]
...works correctly, and that in the presence of X, the former command
prints something like "invalid arguments". In the case (as above)
where there is both no X server and I have provided invalid arguments,
import should complain about invalid arguments instead of / as well as
complaining about the missing X server.
Regards
Bastien
A user this:
$ import --help
import: unable to open X server `'.
he was going to report this as an error, because no X11 messages need
be sent in order to print help information. But when cross-checking, he found that
$ import --help
Version: ImageMagick 6.3.7 03/14/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
[...]
...works correctly, and that in the presence of X, the former command
prints something like "invalid arguments". In the case (as above)
where there is both no X server and I have provided invalid arguments,
import should complain about invalid arguments instead of / as well as
complaining about the missing X server.
Regards
Bastien