Add missing dump file message
This commit is contained in:
parent
6ba6d6a28c
commit
38117b1dc6
@ -82,12 +82,16 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (argc == 1 ||
|
||||
filename.empty()) {
|
||||
if (argc == 1) {
|
||||
usage();
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (filename.empty()) {
|
||||
cerr << "No dump file name" << endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
dump(filename, format);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user