代码整改

Signed-off-by: wahaha3421 <17870086062@163.com>
This commit is contained in:
wahaha3421
2026-05-19 19:36:54 +08:00
parent 2e2fb77245
commit 1ab65977e6
@@ -307,8 +307,9 @@ void ParseParams(const std::vector<std::string> &params,
std::string tmpKey;
std::vector<std::string> tmpValue;
for (auto i = 0; i < params.size(); i++) {
if (params[i].empty())
if (params[i].empty()) {
continue;
}
if (params[i][0] == '-') {
if (!tmpKey.empty()) {
keyValuesMapping[tmpKey] = tmpValue;