code: def option_map(self):
          
          option_map = OrderedDict()
          for arg in self.args.values():
              for option in arg.options:
                  option_map[option] = arg
          return option_map
docs: Map command-line options to args.