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

feature #1153: help message is printed on error

This commit is contained in:
Javi Fontan 2012-09-20 17:03:37 +02:00
parent a428b319de
commit e7dbab5716

View File

@ -468,6 +468,10 @@ module CommandParser
else
puts "one parameter to run"
end
puts
puts "Usage:"
print " #{name} "
print_command(@commands[name])
exit -1
else
id=0