Skip to content

Commit 335ac21

Browse files
Fix after review
1 parent c8d9d54 commit 335ac21

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CLI_ARGS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Option | Description |
66
| ------ | ----------- |
77
| `--sonar-host-url`, `-Dsonar.host.url` | SonarQube Server base URL. For example, http://localhost:9000 for a local instance of SonarQube Server |
8+
| `--sonar-organization`, `-Dsonar.organization` | The key of the organization to which the project belongs |
89
| `--sonar-region`, `-Dsonar.region` | The region to contact, only for SonarQube Cloud |
910
| `-t`, `--token`, `--sonar-token`, `-Dsonar.token` | Token used to authenticate against the SonarQube Server or SonarQube Cloud |
1011

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Python scanner for SonarQube, available on PyPI.
44
# Requirements
55

66
- SonarQube v10.6 or above
7-
- Python 3.8 or above
7+
- Python 3.9 or above
88

99
# Installation
1010

@@ -100,7 +100,7 @@ pysonar --sonar-project-base-dir "path/to/projectBaseDir"
100100
Or:
101101

102102
```
103-
pysonar --sonar-projectBaseDir "path/to/projectBaseDir"
103+
pysonar -Dsonar.projectBaseDir="path/to/projectBaseDir"
104104
```
105105

106106
### Through project properties extracted from the `pyproject.toml`

tools/generate_cli_documentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def generate_cli_docs():
1919

2020
# Group arguments by category
2121
categories = {
22-
"Authentication": ["token", "sonar_host_url", "sonar_region"],
22+
"Authentication": ["token", "sonar_host_url", "sonar_region", "sonar_organization"],
2323
"Project Configuration": [
2424
"sonar_project_key",
2525
"sonar_project_name",

0 commit comments

Comments
 (0)