Option parser class
Definition at line 14 of file contentValuesFiles.py.
def contentValuesFiles.OptionParser.__init__ |
( |
|
self | ) |
|
Definition at line 16 of file contentValuesFiles.py.
18 optparse.OptionParser.__init__(self, usage=
"%prog [options]", version=
"%prog 0.0.1", conflict_handler=
"resolve")
19 self.add_option(
"--url", action=
"store", type=
"string", dest=
"url", default=SERVER_URL, help=
"specify RR XML-RPC server URL. Default is " + SERVER_URL)
20 self.add_option(
"--from", action=
"store", type=
"int", dest=
"from", default=
None, help=
"specify run number lower threshold inclusive. Note that all runs/datasets retrieval can take a long time!")
21 self.add_option(
"--to", action=
"store", type=
"int", dest=
"to", default=
None, help=
"specify run number upper threshold inclusive. Note that all runs/datasets retrieval can take a long time!")
22 self.add_option(
"--base", action=
"store", type=
"string", dest=
"base", default=DEFAULT_BASE, help=
"file base. Default is " + DEFAULT_BASE)