Skip to content

Commit

Permalink
Update subcmds/report_windows.go
Browse files Browse the repository at this point in the history
Co-authored-by: MaineK00n <[email protected]>
  • Loading branch information
shino and MaineK00n authored Oct 9, 2024
1 parent a18e8ac commit 85cc77d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subcmds/report_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
config.Conf.TrivyOpts.TrivyJavaDBRepositories = []string{trivyjavadb.DefaultGHCRRepository}
javaDBRepos := stringArrayFlag{target: &config.Conf.TrivyOpts.TrivyJavaDBRepositories}
f.Var(&javaDBRepos, "trivy-java-db-repository", fmt.Sprintf("Trivy Java DB Repository in a comma-separated list (default %s)", trivyjavadb.DefaultGHCRRepository))

f.BoolVar(&config.Conf.TrivySkipJavaDBUpdate, "trivy-skip-java-db-update", false, "Skip Trivy Java DB Update")
}

// Execute execute
Expand Down

0 comments on commit 85cc77d

Please sign in to comment.