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

B #2254 spurios syntax help on onehost delete

This commit is contained in:
Christian 2018-07-30 11:47:26 +02:00 committed by Tino Vázquez
parent 9a0a840e4a
commit c89727a7a9

View File

@ -575,8 +575,11 @@ module CommandParser
}
unless argument
puts error_msg if error_msg
puts "command #{name}: argument #{id} must be one of #{format.join(', ')}"
if error_msg
puts error_msg
else
puts "command #{name}: argument #{id} must be one of #{format.join(', ')}"
end
exit -1
end