code: def parse_dest(*args, **kwargs):
      
      explicit_dest = kwargs.get('dest')
      if explicit_dest:
        return explicit_dest
  
      arg = next((a for a in args if a.startswith('--')), args[0])
      return arg.lstrip('-').replace('-', '_')
docs: Select the dest name for an option registration.
  
      If an explicit `dest` is specified, returns that and otherwise derives a default from the
      option flags where '--foo-bar' -> 'foo_bar' and '-x' -> 'x'.