code: def _normalize_name(name):
      # type: (str) -> str
      
      name = name.lower().replace('_', '-')
      if name.startswith('--'):
          name = name[2:]  # only prefer long opts
      return name
docs: Make a name consistent regardless of source (environment or file)