From 03aa6a8c0c89b627db179601365e77e8a3d80f23 Mon Sep 17 00:00:00 2001 From: dgupta Date: Wed, 22 May 2024 20:32:42 +0530 Subject: [PATCH] added requiredopts --- commands/vpc_peerings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/vpc_peerings.go b/commands/vpc_peerings.go index a9c0302dc..f2c4ca06e 100644 --- a/commands/vpc_peerings.go +++ b/commands/vpc_peerings.go @@ -58,7 +58,7 @@ With the VPC Peerings commands, you can get, list, create, update, or delete VPC cmdPeeringUpdate := CmdBuilder(cmd, RunVPCPeeringUpdate, "update ", "Update a VPC Peering's name", `Use this command to update the name of a VPC Peering`, Writer, aliasOpt("u")) AddStringFlag(cmdPeeringUpdate, doctl.ArgVPCPeeringName, "", "", - "The VPC Peering's name") + "The VPC Peering's name", requiredOpt()) cmdPeeringUpdate.Example = `The following example updates the name of a VPC Peering with the ID ` + "`" + `f81d4fae-7dec-11d0-a765-00a0c91e6bf6` + "`" + ` to ` + "`" + `new-name` + "`" + `: doctl vpc-peerings update f81d4fae-7dec-11d0-a765-00a0c91e6bf6 --name new-name`