Skip to content

Improve error message

9c8a910
Select commit
Loading
Failed to load commit list.
Merged

Disallow required optional arguments in mutually exclusive groups #189

Improve error message
9c8a910
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Dec 3, 2025 in 1m 21s

Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 1900 in include/argparse.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Ensure that destructor of "ArgumentBuilder" is exception-free and declare it "noexcept"

See more on https://sonarcloud.io/project/issues?id=kkarbowiak_cpp-argparse&issues=AZrlhyLBj3x7_pzjz-5I&open=AZrlhyLBj3x7_pzjz-5I&pullRequest=189

Check failure on line 1915 in include/argparse.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not throw uncaught exceptions in a destructor.

See more on https://sonarcloud.io/project/issues?id=kkarbowiak_cpp-argparse&issues=AZrlhyLBj3x7_pzjz-5L&open=AZrlhyLBj3x7_pzjz-5L&pullRequest=189

Check failure on line 1912 in include/argparse.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not throw uncaught exceptions in a destructor.

See more on https://sonarcloud.io/project/issues?id=kkarbowiak_cpp-argparse&issues=AZrlhyLBj3x7_pzjz-5J&open=AZrlhyLBj3x7_pzjz-5J&pullRequest=189

Check failure on line 1913 in include/argparse.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not throw uncaught exceptions in a destructor.

See more on https://sonarcloud.io/project/issues?id=kkarbowiak_cpp-argparse&issues=AZrlhyLBj3x7_pzjz-5K&open=AZrlhyLBj3x7_pzjz-5K&pullRequest=189

Check failure on line 1925 in include/argparse.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not throw uncaught exceptions in a destructor.

See more on https://sonarcloud.io/project/issues?id=kkarbowiak_cpp-argparse&issues=AZrlhyLBj3x7_pzjz-5M&open=AZrlhyLBj3x7_pzjz-5M&pullRequest=189