parent
aa86a34b76
commit
28f8e61de8
|
@ -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]
|
--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]
|
--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]
|
--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-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]
|
--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]
|
--config value Config file path (default: "~/.gotty") [$GOTTY_CONFIG]
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
* Check that cross-compilation works.
|
* Check that cross-compilation works.
|
||||||
* Ensure NEWS is up-to-date
|
* Ensure NEWS is up-to-date
|
||||||
* Ensure contributor list is up-to-date
|
* Ensure contributor list is up-to-date
|
||||||
* Ensure VERSION is set correctly in Makefile
|
* Ensure usage is correct in Makefile
|
||||||
|
|
|
@ -50,6 +50,7 @@ func GenerateFlags(options ...interface{}) (flags []cli.Flag, mappings map[strin
|
||||||
Usage: flagDescription,
|
Usage: flagDescription,
|
||||||
EnvVars: []string{envName},
|
EnvVars: []string{envName},
|
||||||
Aliases: aliases,
|
Aliases: aliases,
|
||||||
|
DefaultText: field.Tag("default"),
|
||||||
})
|
})
|
||||||
case reflect.Int:
|
case reflect.Int:
|
||||||
flags = append(flags, &cli.IntFlag{
|
flags = append(flags, &cli.IntFlag{
|
||||||
|
|
Loading…
Reference in New Issue