Skip to content

Commit

Permalink
add -c shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Dec 21, 2024
1 parent f1a7361 commit ed57097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/alpha/module/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func newAddCMD(kymaConfig *cmdcommon.KymaConfig) *cobra.Command {
},
}

cmd.Flags().StringVar(&cfg.channel, "channel", "", "Name of the Kyma channel to use for the module")
cmd.Flags().StringVarP(&cfg.channel, "channel", "c", "", "Name of the Kyma channel to use for the module")
cmd.Flags().StringVar(&cfg.crPath, "cr-path", "", "Path to the custom resource file")
cmd.Flags().BoolVar(&cfg.defaultCR, "default-cr", false, "Use this flag to deploy module with default cr")

Expand Down

0 comments on commit ed57097

Please sign in to comment.