Update error handling

This commit is contained in:
Uwe Seimet 2023-11-15 18:47:41 +01:00
parent c43e65fd71
commit 2471696495
1 changed files with 3 additions and 0 deletions

View File

@ -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':