Skip to content

Commit 803ac17

Browse files
Update CliParser.java
1 parent 84c41f9 commit 803ac17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/main/java/org/owasp/dependencycheck/CliParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,15 +433,15 @@ private void addAdvancedOptions(final Options options) {
433433
.addOption(newOptionWithArg(ARGUMENT.CENTRAL_CONTENT_URL, "url",
434434
"Alternative URL to obtain content from an alternative repository. If not set the public Sonatype Maven Central will be used."
435435
+ "Use a repository endpoint, such as https://artifactory.com/artifactory/mvn-release/."))
436-
.addOption(newOptionWithArg(ARGUMENT.CENTRAL_CONTENT_USERNAME, "username",
436+
.addOption(newOptionWithArg(ARGUMENT.CENTRAL_CONTENT_USER, "username",
437437
"Credentials for basic auth towards the --centralContentUrl."))
438438
.addOption(newOptionWithArg(ARGUMENT.CENTRAL_CONTENT_PASSWORD, "password",
439439
"Credentials for basic auth towards the --centralContentUrl"))
440440
.addOption(newOptionWithArg(ARGUMENT.CENTRAL_CONTENT_BEARER_TOKEN, "token",
441441
"Token for bearer auth towards the --centralContentUrl"))
442442
.addOption(newOptionWithArg(ARGUMENT.OSSINDEX_URL, "url",
443443
"Alternative URL for the OSS Index. If not set the public Sonatype OSS Index will be used."))
444-
.addOption(newOptionWithArg(ARGUMENT.OSSINDEX_USER, "username",
444+
.addOption(newOptionWithArg(ARGUMENT.OSSINDEX_USERNAME, "username",
445445
"The username to authenticate to Sonatype's OSS Index. If not set the Sonatype OSS Index "
446446
+ "Analyzer will use an unauthenticated connection."))
447447
.addOption(newOptionWithArg(ARGUMENT.OSSINDEX_PASSWORD, "password", ""

0 commit comments

Comments
 (0)