mirror of https://github.com/schollz/croc.git
show text
This commit is contained in:
parent
91532085c7
commit
55bd83576a
1
main.go
1
main.go
|
@ -85,6 +85,7 @@ func main() {
|
||||||
cr.Stdout = c.GlobalBool("stdout")
|
cr.Stdout = c.GlobalBool("stdout")
|
||||||
cr.LocalOnly = c.GlobalBool("local")
|
cr.LocalOnly = c.GlobalBool("local")
|
||||||
cr.NoLocal = c.GlobalBool("no-local")
|
cr.NoLocal = c.GlobalBool("no-local")
|
||||||
|
cr.ShowText = true
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ import (
|
||||||
type Croc struct {
|
type Croc struct {
|
||||||
// Options for all
|
// Options for all
|
||||||
Debug bool
|
Debug bool
|
||||||
|
// ShowText will display text on the stderr
|
||||||
|
ShowText bool
|
||||||
|
|
||||||
// Options for relay
|
// Options for relay
|
||||||
ServerPort string
|
ServerPort string
|
||||||
|
|
Loading…
Reference in New Issue