#35 switched to optparse because Python 2.6 does not have argparse in its standard library and we are not currently shipping with dependencies declared