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