mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-26 04:34:21 +01:00
server: add --exit-no-conn option (#1029)
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
This commit is contained in:
@@ -80,6 +80,7 @@ OPTIONS:
|
||||
-O, --check-origin Do not allow websocket connection from different origin
|
||||
-m, --max-clients Maximum clients to support (default: 0, no limit)
|
||||
-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
|
||||
-I, --index Custom index.html path
|
||||
-b, --base-path Expected base path for requests coming from a reverse proxy (eg: /mounted/here, max length: 128)
|
||||
|
||||
Reference in New Issue
Block a user