diff mbox

[KVM-AUTOTEST] Fix kvm_config.py -f <filename> mode

Message ID 20091102232801.GR13808@us.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ryan Harper Nov. 2, 2009, 11:28 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py
index 3114c07..52de4c7 100755
--- a/client/tests/kvm/kvm_config.py
+++ b/client/tests/kvm/kvm_config.py
@@ -501,7 +501,7 @@  class config:
 
 if __name__ == "__main__":
     parser = optparse.OptionParser()
-    parser.add_option('-f', '--file', dest="filename", action='store_true',
+    parser.add_option('-f', '--file', dest="filename", action='store',
                       help='path to a config file that will be parsed. '
                            'If not specified, will parse kvm_tests.cfg '
                            'located inside the kvm test dir.')