Implement new command-line argument parser.