fixed inout for parse_cmd_line