1
0
mirror of https://github.com/fiatjaf/nak.git synced 2025-08-24 11:20:47 -04:00

wallet: fix nutzap error message.

This commit is contained in:
fiatjaf
2025-02-12 15:51:00 -03:00
parent 55c6f75b8a
commit 2e30dfe2eb

@@ -316,8 +316,8 @@ var wallet = &cli.Command{
},
Action: func(ctx context.Context, c *cli.Command) error {
args := c.Args().Slice()
if len(args) >= 2 {
return fmt.Errorf("must be called as `nak wallet send <amount> <target>...")
if len(args) < 2 {
return fmt.Errorf("must be called as `nak wallet nutzap <amount> <target>...")
}
w, closew, err := prepareWallet(ctx, c)