<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_release_component(comp):
 """Split the argument passed on the command line into a component name and expected version"""


    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