]> prime8.dev >> repos - ttyd.git/commitdiff
server: fix -U option not work
authorShuanglei Tao <tsl0922@gmail.com>
Mon, 8 May 2023 03:00:00 +0000 (11:00 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Mon, 8 May 2023 03:00:00 +0000 (11:00 +0800)
src/server.c

index 6e74bc2498c23c229f3fcabbe438eb46e8b10afc..318932dedf64ac006491f489b2c78192a856ce70 100644 (file)
@@ -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