code: def register(self, scope, *args, **kwargs):
      
      self._assert_not_frozen()
      self.get_parser(scope).register(*args, **kwargs)
      deprecated_scope = self.known_scope_to_info[scope].deprecated_scope
      if deprecated_scope:
        self.get_parser(deprecated_scope).register(*args, **kwargs)
docs: Register an option in the given scope.