[Oiio-dev] iinfo doesn't print help message when use it without args

Robert Matusewicz matekm at gmail.com
Sat Mar 21 12:22:55 PDT 2009


Hi,

My name is Robert and I think I’ve found a little mistake in application
iinfo code. As I’ve observed it is normal for every application (except iv)
to write information about usage if we don’t give the names of files.
Unfortunately the application iinfo doesn’t do that (but it writes that
message if we use --help option). I think that it’s not a standard behavior.


I’ve looked into the code and I’ve noticed one misstatement. The most of
“our” applications check "filenames.empty()" requirement – iinfo doesn’t do
that and probably this is the reason it doesn’t print any information about
usage if we don’t give the name of a file.

I hope it’s not my mistake?
I enclose a diff file with a changed code and hope it's good solution.

Keep in touch,
Robert Matusewicz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openimageio.org/pipermail/oiio-dev-openimageio.org/attachments/20090321/7f063d61/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iinfo.cpp.patch
Type: text/x-diff
Size: 108 bytes
Desc: not available
URL: <http://lists.openimageio.org/pipermail/oiio-dev-openimageio.org/attachments/20090321/7f063d61/attachment.patch>


More information about the Oiio-dev mailing list