1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Bug #4442: display user id in oneacct --csv

This commit is contained in:
Javi Fontan 2016-05-30 13:02:49 +02:00
parent e0866542e0
commit 278da86c3e

View File

@ -122,8 +122,8 @@ cmd = CommandParser::CmdParser.new(ARGV) do
end
end
cols=AcctHelper::ACCT_TABLE.default_columns
AcctHelper::ACCT_TABLE.default(:UID, *cols)
cols = [ :UID ] + AcctHelper::ACCT_TABLE.default_columns
options[:list] ||= cols
AcctHelper::ACCT_TABLE.show(a, options)
exit(0)