From e46e3cf405822f39edadf5f4afa5285549dd0a23 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Mon, 8 May 2023 11:00:00 +0800 Subject: [PATCH] server: fix -U option not work --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 6e74bc2..318932d 100644 --- a/src/server.c +++ b/src/server.c @@ -82,7 +82,7 @@ static const struct option options[] = {{"port", required_argument, NULL, 'p'}, {"version", no_argument, NULL, 'v'}, {"help", no_argument, NULL, 'h'}, {NULL, 0, 0, 0}}; -static const char *opt_string = "p:i:c:H:u:g:s:w:I:b:P:6aSC:K:A:Rt:T:Om:oBd:vh"; +static const char *opt_string = "p:i:U:c:H:u:g:s:w:I:b:P:6aSC:K:A:Rt:T:Om:oBd:vh"; static void print_help() { // clang-format off -- 2.43.4