Created seperate arg getters for optparse and argparse.