Skip to content

Commit

Permalink
chore: specify arg in net ping cmd (#5435)
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode authored Nov 1, 2022
1 parent 6d32b4e commit 44e1cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var swarmPingCmd = &cmds.Command{
cmds.IntOption("internal", "minimum time between pings").WithDefault(1),
},
Arguments: []cmds.Argument{
cmds.StringArg("peers", true, true, "peers id"),
cmds.StringArg("peerMultiaddr", true, true, "peer multiaddr"),
},
Run: func(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment) error {
if len(req.Arguments) < 1 {
Expand Down

0 comments on commit 44e1cf8

Please sign in to comment.