Ensure defaults for booleans is set correctly

Fixes #16
This commit is contained in:
Søren L. Hansen 2021-06-01 10:08:22 -07:00
parent aa86a34b76
commit 28f8e61de8
3 changed files with 7 additions and 6 deletions

View file

@ -72,7 +72,7 @@ By default, GoTTY starts a web server at port 8080. Open the URL on your web bro
--height value Static height of the screen, 0(default) means dynamically resize (default: 0) [$GOTTY_HEIGHT]
--ws-origin value A regular expression that matches origin URLs to be accepted by WebSocket. No cross origin requests are acceptable by default [$GOTTY_WS_ORIGIN]
--term value Terminal name to use on the browser, one of xterm or hterm. (default: "xterm") [$GOTTY_TERM]
--enable-webgl Enable WebGL renderer (default: false) [$GOTTY_ENABLE_WEBGL]
--enable-webgl Enable WebGL renderer (default: true) [$GOTTY_ENABLE_WEBGL]
--close-signal value Signal sent to the command process when gotty close it (default: SIGHUP) (default: 1) [$GOTTY_CLOSE_SIGNAL]
--close-timeout value Time in seconds to force kill process after client is disconnected (default: -1) (default: -1) [$GOTTY_CLOSE_TIMEOUT]
--config value Config file path (default: "~/.gotty") [$GOTTY_CONFIG]