From ad6379ff96ce8e715538582d57918b45897da43b Mon Sep 17 00:00:00 2001 From: Alexis Kulash Date: Mon, 25 Jan 2021 19:38:14 -0500 Subject: [PATCH] Removing unnecessary short shorthand and refactoring var type --- internal/cli/rules.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/rules.go b/internal/cli/rules.go index 9ad57ae66..364d39173 100644 --- a/internal/cli/rules.go +++ b/internal/cli/rules.go @@ -97,7 +97,7 @@ func deleteRulesCmd(cli *cli) *cobra.Command { auth0 rules delete --id "12345"`, RunE: func(cmd *cobra.Command, args []string) error { r := &management.Rule{ID: &flags.id} - + // TODO: Should add validation of rule // TODO: Would be nice to prompt user confirmation before proceeding with delete @@ -113,7 +113,7 @@ func deleteRulesCmd(cli *cli) *cobra.Command { }, } - cmd.Flags().StringVarP(&flags.id, "id", "i", "", "ID of the rule to delete (required)") + cmd.Flags().StringVar(&flags.id, "id", "", "ID of the rule to delete (required)") return cmd }