lib/cloudstack-cli/cli.rb in cloudstack-cli-1.3.3 vs lib/cloudstack-cli/cli.rb in cloudstack-cli-1.4.0

- old
+ new

@@ -66,10 +66,10 @@ raise CloudstackClient::ParameterError, client.api.missing_params_msg(command) end data = client.send_request(params) if options[:format] == 'json' - puts options[:pretty_print] ? MultiJson.dump(data, pretty: true) : data.to_json + puts options[:pretty_print] ? JSON.pretty_generate(data) : data.to_json else puts data.to_yaml end end