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:
parent
a428b319de
commit
e7dbab5716
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user