Skip to content

Commit

Permalink
docs: uppercase command option descriptions for consistency (#4135)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Oct 17, 2023
1 parent 0605100 commit f714c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ func (e *Executor) needVersionOption() bool {
}

func initRootFlagSet(fs *pflag.FlagSet, cfg *config.Config, needVersionOption bool) {
fs.BoolVarP(&cfg.Run.IsVerbose, "verbose", "v", false, wh("verbose output"))
fs.BoolVarP(&cfg.Run.IsVerbose, "verbose", "v", false, wh("Verbose output"))

var silent bool
fs.BoolVarP(&silent, "silent", "s", false, wh("disables congrats outputs"))
fs.BoolVarP(&silent, "silent", "s", false, wh("Disables congrats outputs"))
if err := fs.MarkHidden("silent"); err != nil {
panic(err)
}
Expand Down

0 comments on commit f714c5d

Please sign in to comment.