diff --git a/src/cli/onevm b/src/cli/onevm index 9f89fdbc96..bce3ccb5fa 100755 --- a/src/cli/onevm +++ b/src/cli/onevm @@ -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