Using argparse instead of getopt.