mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
add no prompt option
This commit is contained in:
parent
7513702e9c
commit
4d9455c24b
4 changed files with 14 additions and 11 deletions
2
main.go
2
main.go
|
@ -80,7 +80,7 @@ func main() {
|
|||
cr = croc.Init(c.GlobalBool("debug"))
|
||||
cr.AllowLocalDiscovery = true
|
||||
cr.WebsocketAddress = c.GlobalString("relay")
|
||||
cr.Yes = c.GlobalBool("yes")
|
||||
cr.NoRecipientPrompt = c.GlobalBool("yes")
|
||||
cr.Stdout = c.GlobalBool("stdout")
|
||||
cr.LocalOnly = c.GlobalBool("local")
|
||||
cr.NoLocal = c.GlobalBool("no-local")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue