From ad581d3b550627d1e0a3062fb76d84f83c4cd02a Mon Sep 17 00:00:00 2001 From: golangci <dev@golangci.com> Date: Mon, 28 May 2018 11:41:21 +0300 Subject: [PATCH] #23: improve help text for --concurrency --- pkg/commands/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/root.go b/pkg/commands/root.go index 61273aed..984f8e26 100644 --- a/pkg/commands/root.go +++ b/pkg/commands/root.go @@ -61,7 +61,7 @@ func (e *Executor) initRoot() { rootCmd.PersistentFlags().BoolVarP(&e.cfg.Run.IsVerbose, "verbose", "v", false, "verbose output") rootCmd.PersistentFlags().StringVar(&e.cfg.Run.CPUProfilePath, "cpu-profile-path", "", "Path to CPU profile output file") rootCmd.PersistentFlags().StringVar(&e.cfg.Run.MemProfilePath, "mem-profile-path", "", "Path to memory profile output file") - rootCmd.PersistentFlags().IntVarP(&e.cfg.Run.Concurrency, "concurrency", "j", runtime.NumCPU(), "Concurrency") + rootCmd.PersistentFlags().IntVarP(&e.cfg.Run.Concurrency, "concurrency", "j", runtime.NumCPU(), "Concurrency (default NumCPU)") e.rootCmd = rootCmd }