diff --git a/main.go b/main.go index d2fa1fb..679ab46 100644 --- a/main.go +++ b/main.go @@ -85,6 +85,7 @@ func main() { cr.Stdout = c.GlobalBool("stdout") cr.LocalOnly = c.GlobalBool("local") cr.NoLocal = c.GlobalBool("no-local") + cr.ShowText = true return nil } diff --git a/src/croc/croc.go b/src/croc/croc.go index 7cc236f..82d4928 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -14,6 +14,8 @@ import ( type Croc struct { // Options for all Debug bool + // ShowText will display text on the stderr + ShowText bool // Options for relay ServerPort string