1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

Fix command_parser print_command format

This commit is contained in:
Daniel Molina 2012-09-06 16:05:04 +02:00
parent 67641049a9
commit b4f0b9ee31

View File

@ -585,7 +585,6 @@ module CommandParser
def print_commands
cmd_format5 = "#{' '*3}%s"
cmd_format10 = "#{' '*8}%s"
if @main
print_command(@main)
@ -601,6 +600,8 @@ module CommandParser
end
def print_command(command)
cmd_format10 = "#{' '*8}%s"
args_str=command[:args_format].collect{ |a|
if a.include?(nil)
"[<#{a.compact.join("|")}>]"