Change description of --permit-arguments

This commit is contained in:
Iwasaki Yudai 2015-10-12 10:29:21 +09:00
parent 589ec6b50a
commit 1bcc6bd9ce
3 changed files with 3 additions and 3 deletions

2
.gotty
View File

@ -57,7 +57,7 @@
// [bool] Accept only one client and exit gotty once the client exits // [bool] Accept only one client and exit gotty once the client exits
// once = false // 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 // permit_arguments = false
// [object] Client terminal (hterm) preferences // [object] Client terminal (hterm) preferences

View File

@ -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] --once Accept only one client and exit on disconnection [$GOTTY_ONCE]
--config "~/.gotty" Config file path [$GOTTY_CONFIG] --config "~/.gotty" Config file path [$GOTTY_CONFIG]
--version, -v print the version --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)
``` ```

View File

@ -34,7 +34,7 @@ func main() {
flag{"reconnect", "", "Enable reconnection"}, flag{"reconnect", "", "Enable reconnection"},
flag{"reconnect-time", "", "Time to reconnect"}, flag{"reconnect-time", "", "Time to reconnect"},
flag{"once", "", "Accept only one client and exit on disconnection"}, 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{ mappingHint := map[string]string{