curl and argparse