Exposed modules-download-mode as a command line option (#781)
* Exposed modules-download-mode as a command line option * Split line into two. * Regenerated README.md file
This commit is contained in:
parent
fa69ddfc14
commit
d47b6f5e48
@ -82,6 +82,8 @@ func initFlagSet(fs *pflag.FlagSet, cfg *config.Config, m *lintersdb.Manager, is
|
||||
|
||||
// Run config
|
||||
rc := &cfg.Run
|
||||
fs.StringVar(&rc.ModulesDownloadMode, "modules-download-mode", "",
|
||||
"Modules download mode. If not empty, passed as -mod=<mode> to go tools")
|
||||
fs.IntVar(&rc.ExitCodeIfIssuesFound, "issues-exit-code",
|
||||
exitcodes.IssuesFound, wh("Exit code when issues were found"))
|
||||
fs.StringSliceVar(&rc.BuildTags, "build-tags", nil, wh("Build tags"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user