From 6d1a19b1d55ddc1629a93328f023e123498962d4 Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Mon, 24 Aug 2015 19:49:57 +0900 Subject: [PATCH] Mention `--once` option in README --- README.md | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4deb4b..b2fb87b 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ By default, gotty starts a web server at port 8080. Open the URL on your web bro --tls-key "~/.gotty.key" TLS/SSL key [$GOTTY_TLS_KEY] --title-format "GoTTY - {{ .Command }} ({{ .Hostname }})" Title format of browser window [$GOTTY_TITLE_FORMAT] --auto-reconnect "-1" Seconds to automatically reconnect to the server when the connection is closed (default: disabled) [$GOTTY_AUTO_RECONNECT] +--once Accept only one client and exit on disconnection [$GOTTY_ONCE] ``` ### Profile File diff --git a/main.go b/main.go index ac9e347..83be0af 100644 --- a/main.go +++ b/main.go @@ -82,7 +82,7 @@ func main() { }, cli.BoolFlag{ Name: "once", - Usage: "Accept only one client and exits on disconnection", + Usage: "Accept only one client and exit on disconnection", EnvVar: "GOTTY_ONCE", }, }