@command('<STR_LIT>')<EOL>def edit(name, connection_uri, id_file="<STR_LIT>", o=[], config=None):
storm_ = get_storm_instance(config)<EOL>try:<EOL><INDENT>if '<STR_LIT:U+002C>' in name:<EOL><INDENT>name = "<STR_LIT:U+0020>".join(name.split("<STR_LIT:U+002C>"))<EOL><DEDENT>user, host, port = parse(<EOL>connection_uri,<EOL>user=get_default("<STR_LIT:user>", storm_.defaults),<EOL>port=get_default("<STR_LIT:port>", storm_.defaults)<EOL>)<EOL>storm_.edit_entry(name, host, user, port, id_file, o)<EOL>print(get_formatted_message(<EOL>'<STR_LIT>'.format(<EOL>name<EOL>), '<STR_LIT:success>'))<EOL><DEDENT>except ValueError as error:<EOL><INDENT>print(get_formatted_message(error, '<STR_LIT:error>'), file=sys.stderr)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>
Edits the related entry in ssh config.