diff --git a/src/cli/onevm b/src/cli/onevm index 29ebedebd3..3c7e656125 100755 --- a/src/cli/onevm +++ b/src/cli/onevm @@ -1240,6 +1240,10 @@ CommandParser::CmdParser.new(ARGV) do if options[:xml] puts pool.to_xml + elsif options[:json] + puts JSON.pretty_generate(pool.to_hash) + elsif options[:yaml] + puts pool.to_hash.to_yaml else table.show(pool.to_hash, options) end