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
1 changed files with 2 additions and 0 deletions

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()...)