3
3
from optparse import OptionParser
8
8
parser = OptionParser(usage="usage: %prog [options] <hostname> <keyspace>")
10
10
"--clobber", action="store_true", default=False, dest="clobber",
11
11
help="clear the keyspace before initialising it")
13
"--create-keyspace", action="store_true", default=False,
16
12
options, args = parser.parse_args()
19
15
parser.error("hostname and keyspace required")
22
args[0], args[1], clobber=options.clobber,