Skip to content

Commit 779e04f

Browse files
committed
receive argument override
1 parent a72f277 commit 779e04f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

+3
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ func receive(c *cli.Context) error {
171171
if c.GlobalString("code") != "" {
172172
codePhrase = c.GlobalString("code")
173173
}
174+
if c.Args().First() != "" {
175+
codePhrase = c.Args().First()
176+
}
174177
return cr.Receive(codePhrase)
175178
}
176179

0 commit comments

Comments
 (0)