mirror of https://github.com/akuker/RASCSI.git
Update error handling
This commit is contained in:
parent
c43e65fd71
commit
2471696495
|
@ -97,6 +97,9 @@ void ScsiExec::ParseArguments(span<char*> args)
|
|||
|
||||
case 'f':
|
||||
filename = optarg;
|
||||
if (filename.empty()) {
|
||||
throw parser_exception("Missing filename");
|
||||
}
|
||||
break;
|
||||
|
||||
case 'b':
|
||||
|
|
Loading…
Reference in New Issue