Replace custom arg parsing code with argparse4j.