[PATCH] Fix format options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix format options

Fix -i and -o so they work properly.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/virt-convert b/virt-convert
--- a/virt-convert
+++ b/virt-convert
@@ -38,10 +38,10 @@ def parse_args():
                       help=("Output virtualization type (hvm, paravirt"))
     parser.add_option("-d", "--debug", action="store_true", dest="debug",
                       help=("Print debugging information"))
-    parser.add_option("-i", "--input-format", action="store_true",
+    parser.add_option("-i", "--input-format", action="store",
                       dest="inputformat", default="vmx",
                       help=("Input format, e.g. 'vmx'"))
-    parser.add_option("-o", "--output-format", action="store_true",
+    parser.add_option("-o", "--output-format", action="store",
                       dest="outputformat", default="virt-image",
                       help=("Output format, e.g. 'virt-image'"))
     parser.add_option("-v", "--hvm", action="store_true", dest="fullvirt",

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux