Change discs option to be an int
This commit is contained in:
parent
c7a08948bf
commit
d943ff4652
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user