[thin_rmap] Fail if no regions are supplied.
This commit is contained in:
parent
f7d79339e8
commit
3790f2e79c
@ -180,6 +180,12 @@ thin_rmap_cmd::run(int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!regions.size()) {
|
||||
cerr << "No regions provided." << endl;
|
||||
usage(cerr);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
return rmap(argv[optind], regions);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user