Merge pull request #1 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:bugfix/qj-minor-patch to release/2.0.0

* commit '538fb576088e97295cfa3c1148b708bfa8ccb4df':
  测试fork PR
This commit is contained in:
李泽玺
2018-08-01 11:50:31 +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)