Argument parser for command-line interface.