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

Fixed --type for onevm saveas

This commit is contained in:
Daniel Molina 2010-07-26 15:45:18 +02:00 committed by Javi Fontan
parent 0069caca43
commit 4e1e9e5fc2

View File

@ -391,7 +391,8 @@ EOT
end
def special_options(opts, options)
opts.on_tail("-t", "--type", "Image type") do |o|
opts.on("-t type", "--type type", String,
"Image type") do |o|
options[:type]=o
end
end