add quiet flag to disable logging

This commit is contained in:
Steve Biedermann 2021-11-09 17:23:04 +01:00
parent f157dbe9d3
commit 4109b117fe
2 changed files with 7 additions and 0 deletions

View file

@ -32,6 +32,7 @@ type Options struct {
WSOrigin string `hcl:"ws_origin" flagName:"ws-origin" flagDescribe:"A regular expression that matches origin URLs to be accepted by WebSocket. No cross origin requests are acceptable by default" default:""`
Term string `hcl:"term" flagName:"term" flagDescribe:"Terminal name to use on the browser, one of xterm or hterm." default:"xterm"`
EnableWebGL bool `hcl:"enable_webgl" flagName:"enable-webgl" flagDescribe:"Enable WebGL renderer" default:"true"`
Quiet bool `hcl:"quiet" flagName:"quiet" flagDescribe:"Don't log" default:"false"`
TitleVariables map[string]interface{}
}