Skip to content

Commit

Permalink
Add vcg options to docstrings on regions and plans (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper committed Mar 9, 2023
1 parent 5c1a4d5 commit f8b0cbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var (
#Full example with paging
vultr-cli plans list --type=vc2 --per-page=5 --cursor="bmV4dF9fdmMyLTJjLTRnYg=="
#Shortened with aliased commands
vultr-cli p l
`
Expand All @@ -65,7 +65,7 @@ func Plans() *cobra.Command {
planCmd.AddCommand(planList)
planCmd.AddCommand(PlansMetal())

planList.Flags().StringP("type", "t", "", "(optional) The type of plans to return. Possible values: 'bare-metal', 'vdc', 'vhp', 'vhp', 'vhf', 'vc2', 'voc', 'voc-g', 'voc-s', 'voc-c', 'voc-m'. Defaults to all VPS plans.")
planList.Flags().StringP("type", "t", "", "(optional) The type of plans to return. Possible values: 'bare-metal', 'vdc', 'vhp', 'vhp', 'vhf', 'vc2', 'vcg', 'voc', 'voc-g', 'voc-s', 'voc-c', 'voc-m'. Defaults to all VPS plans.")

planList.Flags().StringP("cursor", "c", "", "(optional) Cursor for paging.")
planList.Flags().IntP("per-page", "p", 100, "(optional) Number of items requested per page. Default is 100 and Max is 500.")
Expand Down
2 changes: 1 addition & 1 deletion cmd/regions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Regions() *cobra.Command {
regionCmd.AddCommand(regionList)
regionCmd.AddCommand(regionAvailability)

regionAvailability.Flags().StringP("type", "t", "", "type of plans for which to include availability. Possible values: vbm, vdc, vhp, vhf, vc2, voc, voc-g, voc-s, voc-c, voc-m, bare-metal")
regionAvailability.Flags().StringP("type", "t", "", "type of plans for which to include availability. Possible values: vbm, vdc, vhp, vhf, vc2, vcg, voc, voc-g, voc-s, voc-c, voc-m, bare-metal")

regionList.Flags().StringP("cursor", "c", "", "(optional) Cursor for paging.")
regionList.Flags().IntP("per-page", "p", 100, "(optional) Number of items requested per page. Default is 100 and Max is 500.")
Expand Down

0 comments on commit f8b0cbb

Please sign in to comment.