Skip to content

Commit

Permalink
feat(cli)!: drop shorthand flag "s" from global cli flags
Browse files Browse the repository at this point in the history
- causes conflicts with custom used shorthand flag
  • Loading branch information
huf1 authored and DenisBiondic committed Sep 20, 2022
1 parent b643d47 commit 6fbf977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func New(programName string, version string) Cli {

viper.BindPFlag("verbose", rootCmd.PersistentFlags().Lookup("verbose"))

rootCmd.PersistentFlags().BoolP("silence-long-running-progress-indicators", "s", false, "Set to "+
rootCmd.PersistentFlags().BoolP("silence-long-running-progress-indicators", "", false, "Set to "+
"silence long running operation indicator. Useful for CI.")

viper.BindPFlag("silence-long-running-progress-indicators", rootCmd.PersistentFlags().Lookup("silence-long-running-progress-indicators"))
Expand Down

0 comments on commit 6fbf977

Please sign in to comment.