Skip to content

Commit 5461788

Browse files
Fix after review
1 parent 1f7a14a commit 5461788

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ By default, the scanner will expect the `pyproject.toml` file to be present in t
7979
However, its path can be provided manually through the `toml.path` ([SCANPY-40](https://sonarsource.atlassian.net/jira/software/c/projects/PYSCAN/issues/PYSCAN-40)) CLI argument as well as through the `sonar.projectHome` argument. For instance:
8080

8181
```
82-
pysonar -Dtoml.path="path/to/pyproject.toml"
82+
pysonar --toml.path "path/to/pyproject.toml"
8383
```
8484

8585
Or:
8686

8787
```
88-
pysonar -Dsonar.projectHome="path/to/projectHome"
88+
pysonar --sonar-project-home "path/to/projectHome"
8989
```
9090

9191

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#
2020
"""
2121
This module is the entry point for debugging the pysonar scanner in the its.
22-
The pysonar-scanner-debug is started with the working directory set to the root of the project, so that python
22+
The pysonar-debug is started with the working directory set to the root of the project, so that python
2323
(and pydebug by extension) can find the pysonar-scanner-debug module. However, since the scanner should run in the
2424
analyzed project, the working directory is changed to the root of the analyzed project before running the scanner.
2525
26-
The pysonar-scanner-debug expects the PYSONAR_SCANNER_DEBUG_WORKDIR environment variable to be set to the directory
26+
The pysonar-debug expects the PYSONAR_SCANNER_DEBUG_WORKDIR environment variable to be set to the directory
2727
where the scanner should be run. This is set to the directory containing the sources to be analyzed.
2828
"""
2929

0 commit comments

Comments
 (0)