code: def get_release_component(comp):
      
  
      name, vers = comp.split("-")
  
      if name not in comp_names:
          print("Known components:")
          for comp in comp_names:
              print("- %s" % comp)
  
          raise EnvironmentError("Unknown release component name '%s'" % name)
  
      return name, vers
docs: Split the argument passed on the command line into a component name and expected version