1
0
mirror of https://github.com/schollz/croc.git synced 2025-01-05 12:35:56 +03:00

Merge pull request #683 from a1lu/patch-1

Support spaces in 4 word codes
This commit is contained in:
Zack 2024-03-31 12:10:32 -07:00 committed by GitHub
commit 8bc7a62b9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -444,6 +444,8 @@ func receive(c *cli.Context) (err error) {
case 1:
crocOptions.SharedSecret = c.Args().First()
case 3:
fallthrough
case 4:
var phrase []string
phrase = append(phrase, c.Args().First())
phrase = append(phrase, c.Args().Tail()...)