fix: correct the parsing of --convert-name opotion

This commit is contained in:
leejet 2025-12-21 21:47:50 +08:00
parent ca5b1969a8
commit c6937ba44a

View File

@ -73,7 +73,7 @@ struct SDCliParams {
{"", {"",
"--convert-name", "--convert-name",
"convert tensor name (for convert mode)", "convert tensor name (for convert mode)",
true, &canny_preprocess}, true, &convert_name,
{"-v", {"-v",
"--verbose", "--verbose",
"print extra info", "print extra info",