Skip to content

Commit 83bcb96

Browse files
committed
review: --enable-only
1 parent e4f9638 commit 83bcb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/flagsets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func setupLintersFlagSet(v *viper.Viper, fs *pflag.FlagSet) {
2929
color.GreenString(fmt.Sprintf("Enable presets (%s) of linters. Run 'golangci-lint help linters' to see "+
3030
"them. This option implies option --disable-all", strings.Join(lintersdb.AllPresets(), "|"))))
3131

32-
fs.StringSlice("only", nil, color.GreenString("Override linters configuration section to only run the specific linter(s)")) // Flags only.
32+
fs.StringSlice("enable-only", nil, color.GreenString("Override linters configuration section to only run the specific linter(s)")) // Flags only.
3333
}
3434

3535
func setupRunFlagSet(v *viper.Viper, fs *pflag.FlagSet) {

0 commit comments

Comments
 (0)