Skip to content

Commit

Permalink
adding all types filters for plans (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
AFatalErrror authored Mar 31, 2022
1 parent 477c30b commit b86ee31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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', 'vc2', 'vdc2', 'ssd', 'dedicated'. 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', '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: vc2, vdc2, bare-metal")
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")

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 b86ee31

Please sign in to comment.