feat: concatenate repeated cli arg strings (#1686)

This commit is contained in:
stduhpf authored and GitHub committed 2026-06-22 00:24:13 +08:00
1 parent e9e952462f
commit 2bd249c971
4 files changed
+60 -4

No files matched your search

+2 -2
View File
@@ -190,8 +190,8 @@ ArgOptions SDSvrParams::get_options() {
ArgOptions options;
options.string_options = {
{"-l", "--listen-ip", "server listen ip (default: 127.0.0.1)", &listen_ip},
{"", "--serve-html-path", "path to HTML file to serve at root (optional)", &serve_html_path},
{"-l", "--listen-ip", "server listen ip (default: 127.0.0.1)", 0, &listen_ip},
{"", "--serve-html-path", "path to HTML file to serve at root (optional)", 0, &serve_html_path},
};
options.int_options = {