Add missing dump file message

This commit is contained in:
Heinz Mauelshagen 2011-12-14 17:41:43 +01:00
parent 6ba6d6a28c
commit 38117b1dc6

View File

@ -82,12 +82,16 @@ int main(int argc, char **argv)
} }
} }
if (argc == 1 || if (argc == 1) {
filename.empty()) {
usage(); usage();
return 1; return 1;
} }
if (filename.empty()) {
cerr << "No dump file name" << endl;
return 1;
}
dump(filename, format); dump(filename, format);
return 0; return 0;
} }