code: def cmdline(argv, rules=None, config=None, **kwargs):
      
      parser = Parser(rules, **kwargs)
      if config is not None: parser.loadrc(config)
      return parser.parse(argv).result
docs: Simplified cmdopts interface that does not default any parsing rules
         and that does not allow compounding calls to the parser.