fix(linear-static-3d-euler-beam): reject CLI option values
This commit is contained in:
@@ -83,7 +83,8 @@ int FesaApplication::run(const std::vector<std::string>& arguments) {
|
||||
!arguments[0U].empty() &&
|
||||
!startsWithOption(arguments[0U]) &&
|
||||
arguments[1U] == "--output" &&
|
||||
!arguments[2U].empty();
|
||||
!arguments[2U].empty() &&
|
||||
!startsWithOption(arguments[2U]);
|
||||
if (!defaultOutputForm && !explicitOutputForm) {
|
||||
writeDiagnostics({usageDiagnostic()});
|
||||
return kUsageExitCode;
|
||||
|
||||
Reference in New Issue
Block a user