We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa69ddf commit d47b6f5Copy full SHA for d47b6f5
pkg/commands/run.go
@@ -82,6 +82,8 @@ func initFlagSet(fs *pflag.FlagSet, cfg *config.Config, m *lintersdb.Manager, is
82
83
// Run config
84
rc := &cfg.Run
85
+ fs.StringVar(&rc.ModulesDownloadMode, "modules-download-mode", "",
86
+ "Modules download mode. If not empty, passed as -mod=<mode> to go tools")
87
fs.IntVar(&rc.ExitCodeIfIssuesFound, "issues-exit-code",
88
exitcodes.IssuesFound, wh("Exit code when issues were found"))
89
fs.StringSliceVar(&rc.BuildTags, "build-tags", nil, wh("Build tags"))
0 commit comments