Skip to content

optparse

Instantiate the parser object

parser = optparse.OptionParser(usage=__doc__.strip())

# add an option
parser.add_option('--timeout')