Skip to content

SCANPY-234 Fix help suggestions displayed when invoking pysonar without arguments#299

Open
marc-jasper-sonarsource wants to merge 1 commit intomasterfrom
MJ/SCANPY-234
Open

SCANPY-234 Fix help suggestions displayed when invoking pysonar without arguments#299
marc-jasper-sonarsource wants to merge 1 commit intomasterfrom
MJ/SCANPY-234

Conversation

@marc-jasper-sonarsource
Copy link
Contributor

No description provided.

@sonar-review-alpha
Copy link

sonar-review-alpha bot commented Mar 16, 2026

Summary

This PR fixes inaccuracies in the help message shown when pysonar is invoked without required arguments

What reviewers should know

Summary

This PR fixes inaccuracies in the help message shown when pysonar is invoked without required arguments:

  1. Corrects CLI syntax: Updates the command-line example from --sonar.projectKey=myproject to --sonar-project-key=myproject (CLI args use hyphens, not dots)
  2. Adds missing method: Documents the -D parameter approach for specifying analysis parameters (e.g., -Dsonar.projectKey=myproject), which wasn't previously mentioned

These changes ensure users receive accurate guidance on all available configuration methods when the scanner fails due to missing required properties.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Mar 16, 2026

SCANPY-234

@sonarqube-next
Copy link

Quality Gate passed Quality Gate passed for 'Python Scanner'

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant