Skip to content

Commit

Permalink
Merge pull request #306 from gabriel-samfira/fix-conflicting-options
Browse files Browse the repository at this point in the history
Remove conflicting short hand option
  • Loading branch information
gabriel-samfira authored Oct 23, 2024
2 parents 54aa381 + 2273b1d commit 06dfc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/garm-cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var rootCmd = &cobra.Command{
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
rootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "Enable debug on all API calls")
rootCmd.PersistentFlags().VarP(&outputFormat, "format", "f", "Output format (table, json)")
rootCmd.PersistentFlags().Var(&outputFormat, "format", "Output format (table, json)")

cobra.OnInitialize(initConfig)

Expand Down

0 comments on commit 06dfc27

Please sign in to comment.