From 1bcc6bd9cea54a9993a503445f6f05f282ceaa3c Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Mon, 12 Oct 2015 10:29:21 +0900 Subject: [PATCH] Change description of `--permit-arguments` --- .gotty | 2 +- README.md | 2 +- main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gotty b/.gotty index 73afd2f..d56d0e1 100644 --- a/.gotty +++ b/.gotty @@ -57,7 +57,7 @@ // [bool] Accept only one client and exit gotty once the client exits // once = false -// [bool] Allow clients to send command line arguments +// [bool] Permit clients to send command line arguments in URL (e.g. http://example.com:8080/?arg=AAA&arg=BBB) // permit_arguments = false // [object] Client terminal (hterm) preferences diff --git a/README.md b/README.md index f056aa3..46882d8 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ By default, GoTTY starts a web server at port 8080. Open the URL on your web bro --once Accept only one client and exit on disconnection [$GOTTY_ONCE] --config "~/.gotty" Config file path [$GOTTY_CONFIG] --version, -v print the version ---permit-arguments Allow to send arguments like this http://example.com:8080/?arg=AAA&arg=BBB +--permit-arguments Permit clients to send command line arguments in URL (e.g. http://example.com:8080/?arg=AAA&arg=BBB) ``` diff --git a/main.go b/main.go index 62ed399..5e42465 100644 --- a/main.go +++ b/main.go @@ -34,7 +34,7 @@ func main() { flag{"reconnect", "", "Enable reconnection"}, flag{"reconnect-time", "", "Time to reconnect"}, flag{"once", "", "Accept only one client and exit on disconnection"}, - flag{"permit-arguments", "", "Allow to send arguments like this http://example.com:8080/?arg=AAA&arg=BBB"}, + flag{"permit-arguments", "", "Permit clients to send command line arguments in URL (e.g. http://example.com:8080/?arg=AAA&arg=BBB)"}, } mappingHint := map[string]string{