Automatic merge from release/2.1.0 -> master

* commit '9097c42a898acec8b868330b7c59b8ecf2d4fd4d':
  测试fork PR
This commit is contained in:
李泽玺
2018-08-01 11:50:32 +08:00
+3 -3
View File
@@ -10,9 +10,9 @@ func init() {
type ZoneListOptions struct {
BaseListOptions
Region string `help:"cloud region ID or Name"`
Usable bool `help:"List zones that is usable"`
Private bool `help:"show zones in private cloud regions only"`
Public bool `help:"show zones in public cloud regions only"`
Usable bool `help:"List all zones that is usable"`
Private bool `help:"show all zones in private cloud regions only"`
Public bool `help:"show all zones in public cloud regions only"`
}
R(&ZoneListOptions{}, "zone-list", "List zones", func(s *mcclient.ClientSession, args *ZoneListOptions) error {
params := FetchPagingParams(args.BaseListOptions)