Skip to content
Open
Changes from all commits
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 @@ -461,7 +461,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 the playback flag (--playback) are specified. "
Copy link
Contributor

@iche033 iche033 Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor issue picked up by CI:

/github/workspace/src/cmd/sim_main.cc:467:  Lines should be <= 80 characters long 

<< "Specify only one of these arguments." << std::endl;
return -1;
}
std::string parsedSdfFile;
if(!opt->launchServer && !opt->launchGui)
{
Expand Down
Loading