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.LocalOnly = c.GlobalBool("local")
|
||||
cr.NoLocal = c.GlobalBool("no-local")
|
||||
cr.ShowText = true
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue