From 4e1e9e5fc2cf9d3b772850831bc389b86673383d Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Mon, 26 Jul 2010 15:45:18 +0200 Subject: [PATCH] Fixed --type for onevm saveas --- src/cli/onevm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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