mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #1301: onevm create accepts non-valid options
This commit is contained in:
parent
c17f7ac307
commit
f7166cd019
@ -99,8 +99,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
See 'onetemplate create' and 'onetemplate instantiate'
|
||||
EOT
|
||||
|
||||
command :create, create_desc, :file,
|
||||
:options=>[OneVMHelper::MULTIPLE]+OpenNebulaHelper::OPTIONS do
|
||||
command :create, create_desc, :file, :options=>[OneVMHelper::MULTIPLE] do
|
||||
number = options[:multiple] || 1
|
||||
|
||||
exit_code=nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user