server: add --exit-no-conn option (#1029)

Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
This commit is contained in:
baitian
2024-03-05 22:11:37 +08:00
committed by GitHub
parent c5f742f69e
commit 116ce8ff07
6 changed files with 19 additions and 4 deletions

View File

@@ -101,6 +101,10 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
-o, --once
Accept only one client and exit on disconnection
.PP
-q, --exit-no-conn
Exit on all clients disconnection
.PP
-B, --browser
Open terminal with the default system browser

View File

@@ -68,6 +68,9 @@ ttyd 1 "September 2016" ttyd "User Manual"
-o, --once
Accept only one client and exit on disconnection
-q, --exit-no-conn
Exit on all clients disconnection
-B, --browser
Open terminal with the default system browser