print help on error
This commit is contained in:
parent
8cf6b56fe9
commit
61c77e8e92
@ -71,7 +71,8 @@ int main(int ac, char** av)
|
|||||||
|
|
||||||
if (!readStringList(arg,imagelist))
|
if (!readStringList(arg,imagelist))
|
||||||
{
|
{
|
||||||
cerr << "Failed to read image list" << endl;
|
cerr << "Failed to read image list\n" << endl;
|
||||||
|
help(av);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user