lib/cloudstack-cli/commands/snapshot.rb in cloudstack-cli-1.5.10 vs lib/cloudstack-cli/commands/snapshot.rb in cloudstack-cli-1.5.12
- old
+ new
@@ -2,10 +2,10 @@
desc 'list', 'list snapshots'
option :account, desc: "the account associated with the snapshot"
option :project, desc: "the project associated with the snapshot"
option :domain, desc: "the domain name of the snapshot's account"
- option :listall, default: true, desc: "list all resources the caller has rights on"
+ option :listall, type: :boolean, default: true, desc: "list all resources the caller has rights on"
option :state, desc: "filter snapshots by state"
option :format, default: "table",
enum: %w(table json yaml)
def list
resolve_account