lib/cloudstack-cli/commands/domain.rb in cloudstack-cli-0.0.3 vs lib/cloudstack-cli/commands/domain.rb in cloudstack-cli-0.0.4
- old
+ new
@@ -1,7 +1,7 @@
class Domain < Thor
- desc 'list [NAME]', 'list domains'
+ desc 'domain list [NAME]', 'list domains'
def list(name = nil)
cs_cli = CloudstackCli::Helper.new(options[:config])
domains = cs_cli.domains(name)
if domains.size < 1
puts "No domains found"
\ No newline at end of file