[Ref]: Use argparse instead of getopt.