diff --git a/cmd/rosa-support/create/subnets/cmd.go b/cmd/rosa-support/create/subnets/cmd.go index b734dd4..926d57b 100644 --- a/cmd/rosa-support/create/subnets/cmd.go +++ b/cmd/rosa-support/create/subnets/cmd.go @@ -22,7 +22,7 @@ var Cmd = &cobra.Command{ Short: "Create subnets", Long: "Create subnets.", Example: ` # Create a pair of subnets with prefix 'mysubnet-' in region 'us-east-2' - rosa-support create subnets --name-prefix=mysubnet --region us-east-2 --vpc-id --availability-zones `, + rosa-support create subnets --region us-east-2 --vpc-id --availability-zones `, Run: run, } diff --git a/cmd/rosa-support/create/vpc/cmd.go b/cmd/rosa-support/create/vpc/cmd.go index 0092f30..14c7c92 100644 --- a/cmd/rosa-support/create/vpc/cmd.go +++ b/cmd/rosa-support/create/vpc/cmd.go @@ -84,7 +84,7 @@ func run(cmd *cobra.Command, _ []string) { split := strings.Split(tag, ":") if len(split) == 2 { - tagMap[split[0]] = tagMap[split[1]] + tagMap[split[0]] = split[1] } else { tagMap[split[0]] = "" } diff --git a/cmd/rosa-support/delete/tag/cmd.go b/cmd/rosa-support/delete/tag/cmd.go index 6a29fd8..64ca2bc 100644 --- a/cmd/rosa-support/delete/tag/cmd.go +++ b/cmd/rosa-support/delete/tag/cmd.go @@ -20,7 +20,7 @@ var Cmd = &cobra.Command{ Short: "Delete tag", Long: "Delete tag.", Example: ` # Delete a tag from the resource - rosa-support delete tag --resource-id --region us-east-2 --tag-key key`, + rosa-support delete tag --resource-id --region us-east-2 --tag-key key`, Run: run, }