Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve sonarimport help #2717

Merged
merged 6 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/)

### Changed
ce-bo marked this conversation as resolved.
Show resolved Hide resolved

- Improve sonarimport help message [#2717](https://github.com/MaibornWolff/codecharta/pull/2717)
- Remove blacklist entry on click of name as well [#2712](https://github.com/MaibornWolff/codecharta/pull/2712)

## [1.93.0] - 2022-03-14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ class SonarImporterMain(
private val error: PrintStream = System.err
) : Callable<Void> {

@CommandLine.Option(names = ["-h", "--help"], usageHelp = true, description = ["displays this help and exits"])
@CommandLine.Option(names = ["-h", "--help"], usageHelp = true, description = [
"Please locate:\n" +
"- sonar.host.url=https://sonar.foo\n" +
"- sonar.login=c123d456\n" +
"- sonar.projectKey=de.foo:bar\n" +
"That you use to upload your code to sonar.\n" +
"Then execute [sonarimport https://sonar.foo de.foo:bar -u c123d456]"])
private var help = false

@CommandLine.Parameters(index = "0", paramLabel = "URL", description = ["url of sonarqube server"])
Expand Down