Skip to content

Commit

Permalink
fix: don't hide enable-all option (#2338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Nov 2, 2021
1 parent f47f4f5 commit a8887d5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,6 @@ func initFlagSet(fs *pflag.FlagSet, cfg *config.Config, m *lintersdb.Manager, is
fs.StringSliceVarP(&lc.Enable, "enable", "E", nil, wh("Enable specific linter"))
fs.StringSliceVarP(&lc.Disable, "disable", "D", nil, wh("Disable specific linter"))
fs.BoolVar(&lc.EnableAll, "enable-all", false, wh("Enable all linters"))
if err := fs.MarkHidden("enable-all"); err != nil {
panic(err)
}

fs.BoolVar(&lc.DisableAll, "disable-all", false, wh("Disable all linters"))
fs.StringSliceVarP(&lc.Presets, "presets", "p", nil,
Expand Down

0 comments on commit a8887d5

Please sign in to comment.