aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-04-30 16:59:35 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2024-05-03 13:07:43 +0200
commit69d6ba48c07b69ddd6cce7361573d3ab46517fb0 (patch)
tree954c1f79ac3cd40ab4e4451ae986d37fff4d42d4 /src/main/java
parent9eb22f219a4404e68a74f2d0de6a6818e34d6e50 (diff)
downloadsonar-scanner-cli-69d6ba48c07b69ddd6cce7361573d3ab46517fb0.tar.gz
sonar-scanner-cli-69d6ba48c07b69ddd6cce7361573d3ab46517fb0.zip
SCANCLI-84 Rename SonarScanner -> SonarScanner CLI
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Main.java6
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/SystemInfo.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/Main.java b/src/main/java/org/sonarsource/scanner/cli/Main.java
index f9a613d..8ad0c05 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Main.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Main.java
@@ -79,7 +79,7 @@ public class Main {
}
} catch (Throwable e) {
displayExecutionResult(stats, "FAILURE");
- showError("Error during SonarScanner execution", e, cli.isDebugEnabled());
+ showError("Error during SonarScanner CLI execution", e, cli.isDebugEnabled());
status = isUserError(e) ? Exit.USER_ERROR : Exit.INTERNAL_ERROR;
} finally {
exit.exit(status);
@@ -97,7 +97,7 @@ public class Main {
private void checkSkip(Properties properties) {
if ("true".equalsIgnoreCase(properties.getProperty(ScanProperties.SKIP))) {
- logger.info("SonarScanner analysis skipped");
+ logger.info("SonarScanner CLI analysis skipped");
exit.exit(Exit.SUCCESS);
}
}
@@ -155,7 +155,7 @@ public class Main {
private void suggestDebugMode() {
if (!cli.isEmbedded()) {
- logger.error("Re-run SonarScanner using the -X switch to enable full debug logging.");
+ logger.error("Re-run SonarScanner CLI using the -X switch to enable full debug logging.");
}
}
diff --git a/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java b/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java
index 5aee435..30abee5 100644
--- a/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java
+++ b/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java
@@ -39,7 +39,7 @@ class SystemInfo {
}
static void print(Logs logger) {
- logger.info("SonarScanner " + ScannerVersion.version());
+ logger.info("SonarScanner CLI " + ScannerVersion.version());
logger.info(java());
logger.info(os());
String scannerOpts = system.getenv("SONAR_SCANNER_OPTS");