mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
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))
|
||||
{
|
||||
cerr << "Failed to read image list" << endl;
|
||||
cerr << "Failed to read image list\n" << endl;
|
||||
help(av);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user