Skip to content

Commit

Permalink
Disable arg passing by default
Browse files Browse the repository at this point in the history
This is how it's been documented since forever.

Fixes #17
  • Loading branch information
sorenisanerd committed Jun 1, 2021
1 parent 28f8e61 commit 5c8eb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/options.go
Expand Up @@ -25,7 +25,7 @@ type Options struct {
MaxConnection int `hcl:"max_connection" flagName:"max-connection" flagDescribe:"Maximum connection to gotty" default:"0"`
Once bool `hcl:"once" flagName:"once" flagDescribe:"Accept only one client and exit on disconnection" default:"false"`
Timeout int `hcl:"timeout" flagName:"timeout" flagDescribe:"Timeout seconds for waiting a client(0 to disable)" default:"0"`
PermitArguments bool `hcl:"permit_arguments" flagName:"permit-arguments" flagDescribe:"Permit clients to send command line arguments in URL (e.g. http://example.com:8080/?arg=AAA&arg=BBB)" default:"true"`
PermitArguments bool `hcl:"permit_arguments" flagName:"permit-arguments" flagDescribe:"Permit clients to send command line arguments in URL (e.g. http://example.com:8080/?arg=AAA&arg=BBB)" default:"false"`
Preferences *HtermPrefernces `hcl:"preferences"`
Width int `hcl:"width" flagName:"width" flagDescribe:"Static width of the screen, 0(default) means dynamically resize" default:"0"`
Height int `hcl:"height" flagName:"height" flagDescribe:"Static height of the screen, 0(default) means dynamically resize" default:"0"`
Expand Down

0 comments on commit 5c8eb10

Please sign in to comment.