Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/cmd/sim_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,13 @@ int main(int argc, char** argv)

app.formatter(std::make_shared<GzFormatter>(&app));
CLI11_PARSE(app, argc, argv);

// check for invalid combination to avoid thread issue
if (!opt->file.empty() && !opt->playback.empty())
{
gzerr << "Both an SDF file and playback flag are specified."
<< "Only specify one." << std::endl;
return -1;
}
std::string parsedSdfFile;
if(!opt->launchServer && !opt->launchGui)
{
Expand Down
Loading