Skip to content
This repository was archived by the owner on Sep 27, 2025. It is now read-only.

Commit 8df6208

Browse files
authored
fix: Add hosted suppressions args to completion, fixup CLI documentation of args (#5303)
2 parents 465b942 + 345337f commit 8df6208

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cli/src/main/resources/completion-for-dependency-check.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ _odc_completions()
8080
--go
8181
-h --help
8282
--hints
83+
--hostedSuppressionsForceUpdate
84+
--hostedSuppressionsValidForHours <hours>
85+
--hostedSuppressionsUrl <url>
8386
--junitFailOnCVSS <score>
8487
-l --log
8588
-n --noupdate

cli/src/site/markdown/arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ Advanced Options
120120
| | \-\-purge | | Delete the local copy of the NVD. This is used to force a refresh of the data. | &nbsp; |
121121
| | \-\-hostedSuppressionsForceUpdate | | Whether the hosted suppressions file will update regardless of the `noupdate` argument. | false |
122122
| | \-\-hostedSuppressionsValidForHours | \<hours\> | The number of hours to wait before checking for new updates of the hosted suppressions file | 2 |
123-
| | \-\-retireJsUrl | \<url\> | The URL to a mirrored copy of the hosted suppressions file for internet-constrained environments | https://jeremylong.github.io/DependencyCheck/suppressions/publishedSuppressions.xml |
123+
| | \-\-hostedSuppressionsUrl | \<url\> | The URL to a mirrored copy of the hosted suppressions file for internet-constrained environments | https://jeremylong.github.io/DependencyCheck/suppressions/publishedSuppressions.xml |

0 commit comments

Comments
 (0)