def apply_argument_parser(argumentsParser, options=None):
if options is not None:<EOL><INDENT>args = argumentsParser.parse_args(options)<EOL><DEDENT>else:<EOL><INDENT>args = argumentsParser.parse_args()<EOL><DEDENT>return args<EOL>
Apply the argument parser.