mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
F #5422: Add csv option to onevcenter
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -195,7 +195,7 @@ class OneVcenterHelper < OpenNebulaHelper::OneHelper
|
||||
|
||||
show_header(vcenter_host)
|
||||
|
||||
table.show(list)
|
||||
table.show(list, _options)
|
||||
end
|
||||
|
||||
# handles :cli section of TABLE
|
||||
|
||||
+2
-1
@@ -165,7 +165,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
|
||||
command :list,
|
||||
list_desc,
|
||||
:options => [OBJECT, HOST, DATASTORE, VCENTER, USER, PASS] do
|
||||
:options => [OBJECT, HOST, DATASTORE, VCENTER, USER, PASS,
|
||||
CLIHelper::CSV_OPT] do
|
||||
begin
|
||||
args = helper.parse_opts(options)
|
||||
args[:filter] = true
|
||||
|
||||
Reference in new issue
Block a user