print help on error

This commit is contained in:
Gary Bradski 2010-12-01 01:43:22 +00:00
parent 8cf6b56fe9
commit 61c77e8e92

View File

@ -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;
}