lib/cloudstack-cli/commands/account.rb in cloudstack-cli-1.3.0 vs lib/cloudstack-cli/commands/account.rb in cloudstack-cli-1.3.1

- old
+ new

@@ -6,10 +6,10 @@ 2 => 'admin' } desc "show NAME", "show detailed infos about an account" def show(name) - unless account = client.list_accounts(name: name).first + unless account = client.list_accounts(name: name, listall: true).first say "No account named \"#{name}\" found.", :red else account.delete 'user' account['accounttype'] = "#{account['accounttype']} (#{TYPES[account['accounttype']]})" table = account.map do |key, value|