From: Shuanglei Tao Date: Mon, 8 May 2023 03:00:00 +0000 (+0800) Subject: server: fix -U option not work X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=e46e3cf405822f39edadf5f4afa5285549dd0a23;p=ttyd.git server: fix -U option not work --- 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