1
1
Fork 0
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:
Zack Scholl 2018-09-22 06:32:44 -07:00
parent 7513702e9c
commit 4d9455c24b
4 changed files with 14 additions and 11 deletions

View file

@ -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")