<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cmdline(argv, rules=None, config=None, **kwargs):
 """Simplified cmdopts interface that does not default any parsing rules and that does not allow compounding calls to the parser."""

    parser = Parser(rules, **kwargs)
    if config is not None: parser.loadrc(config)
    return parser.parse(argv).result