Skip to content

Commit

Permalink
Fix unable to redefine shorthand, prob in create profile azure (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksinghggits committed Mar 28, 2022
1 parent 7912afb commit ecbf4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kanctl/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func newAzureProfileCmd() *cobra.Command {

cmd.Flags().StringP(AzureStorageAccountFlag, "a", "", "Storage account name of the azure storage")
cmd.Flags().StringP(AzureStorageKeyFlag, "s", "", "Storage account key of the azure storage")
cmd.Flags().StringP(AzureStorageEnvFlag, "e", "", "The Azure cloud environment")
cmd.Flags().String(AzureStorageEnvFlag, "", "The Azure cloud environment")

_ = cmd.MarkFlagRequired(AzureStorageAccountFlag)
_ = cmd.MarkFlagRequired(AzureStorageKeyFlag)
Expand Down

0 comments on commit ecbf4eb

Please sign in to comment.