Change discs option to be an int

This commit is contained in:
jkeating@harpoon.lab.boston.redhat.com 2006-11-06 16:14:32 -05:00 committed by Jesse Keating
parent c7a08948bf
commit d943ff4652

View File

@ -67,7 +67,7 @@ if __name__ == '__main__':
help='Base arch to use') help='Base arch to use')
parser.add_option("--version", default="test", dest="version", parser.add_option("--version", default="test", dest="version",
help='Version of the spin') help='Version of the spin')
parser.add_option("--discs", default="5", dest="discs", parser.add_option("--discs", default=5, type="int", dest="discs",
help='Number of discs to spin') help='Number of discs to spin')
parser.add_option("-q", "--quiet", default=False, action="store_true", parser.add_option("-q", "--quiet", default=False, action="store_true",
help="Output as little as possible") help="Output as little as possible")