feat: concatenate repeated cli arg strings (#1686)

This commit is contained in:
stduhpf
2026-06-21 18:24:13 +02:00
committed by GitHub
parent e9e952462f
commit 2bd249c971
4 changed files with 60 additions and 4 deletions

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 = {