From 62d5614b0a73b75d9e170d416601d36b9fc68656 Mon Sep 17 00:00:00 2001
From: Fernandez Ludovic <lfernandez.dev@gmail.com>
Date: Tue, 2 Nov 2021 09:47:11 +0100
Subject: [PATCH] fix: don't hide enable-all option

---
 pkg/commands/run.go | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pkg/commands/run.go b/pkg/commands/run.go
index f2ea5415a7fe..5347e6b3841d 100644
--- a/pkg/commands/run.go
+++ b/pkg/commands/run.go
@@ -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,