From 55bd83576ae8212b9b4ad3cafe8a80181a5b7595 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Fri, 21 Sep 2018 22:31:13 -0700 Subject: [PATCH] show text --- main.go | 1 + src/croc/croc.go | 2 ++ 2 files changed, 3 insertions(+) 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