introduced parse_cmd_line to client class