Skip to content

Commit

Permalink
added requiredopts
Browse files Browse the repository at this point in the history
  • Loading branch information
guptado committed May 22, 2024
1 parent a137366 commit 03aa6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/vpc_peerings.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ With the VPC Peerings commands, you can get, list, create, update, or delete VPC
cmdPeeringUpdate := CmdBuilder(cmd, RunVPCPeeringUpdate, "update <id>",
"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`
Expand Down

0 comments on commit 03aa6a8

Please sign in to comment.