fix(flag): remove --clear-cache flag client mode (#2301)

This commit is contained in:
mycodeself
2022-06-15 10:48:24 +02:00
committed by GitHub
parent 276daae672
commit e85881231f
2 changed files with 0 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ DEPRECATED OPTIONS:
--severity value, -s value severities of vulnerabilities to be displayed (comma separated) (default: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL") [$TRIVY_SEVERITY]
--output value, -o value output file name [$TRIVY_OUTPUT]
--exit-code value Exit code when vulnerabilities were found (default: 0) [$TRIVY_EXIT_CODE]
--clear-cache, -c clear image caches without scanning (default: false) [$TRIVY_CLEAR_CACHE]
--ignore-unfixed display only fixed vulnerabilities (default: false) [$TRIVY_IGNORE_UNFIXED]
--removed-pkgs detect vulnerabilities of removed packages (only for Alpine) (default: false) [$TRIVY_REMOVED_PKGS]
--vuln-type value comma-separated list of vulnerability types (os,library) (default: "os,library") [$TRIVY_VULN_TYPE]

View File

@@ -664,7 +664,6 @@ func NewClientCommand() *cli.Command {
&severityFlag,
&outputFlag,
&exitCodeFlag,
&clearCacheFlag,
&ignoreUnfixedFlag,
&removedPkgsFlag,
&vulnTypeFlag,