From 44e1cf85e177c65e6cf8977879fccb09fbba9081 Mon Sep 17 00:00:00 2001 From: tom <69969590+simlecode@users.noreply.github.com> Date: Tue, 1 Nov 2022 17:13:07 +0800 Subject: [PATCH] chore: specify arg in net ping cmd (#5435) --- cmd/swarm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/swarm.go b/cmd/swarm.go index edd8fdaa08..8e54dd24c7 100644 --- a/cmd/swarm.go +++ b/cmd/swarm.go @@ -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 {