"--export-png=" assert-fails if given bad argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Martin Owens |
Bug Description
Inkscape currently uses a very scary-looking "assertion failed" message to report bad command-line arguments. I expect this is considered a low-priority cosmetic feature, but it would still be nice to do some error-checking and give a friendlier message that doesn't begin with a lot of asterisks, a PID, and the word "CRITICAL" in all caps.
% inkscape "--export-png=" myfile.svg
DPI: 300
Background RRGGBBAA: ffffff00
Area 0:0:247.5:337.5 exported to 825 x 1125 pixels (300 dpi)
Bitmap saved as:
** (inkscape:7189): CRITICAL **: bool sp_png_
% inkscape -v
** (inkscape:7234): WARNING **: Invalid option -v
% inkscape --version
Inkscape 0.48.2 r9819 (Jul 11 2011)
Related branches
Changed in inkscape: | |
status: | Fix Committed → Confirmed |
Changed in inkscape: | |
milestone: | none → 0.91 |
status: | Fix Committed → Fix Released |
Reproduced with Inkscape 0.48.2, 0.48.3.1 and 0.48+devel r11016 on OS X 10.7.2.