mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
Merge pull request #683 from a1lu/patch-1
Support spaces in 4 word codes
This commit is contained in:
commit
8bc7a62b9e
1 changed files with 2 additions and 0 deletions
|
@ -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()...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue