fix: ux: specify arg in net ping cmd

Specify that you need to ping the `peerMultiaddrs` with the `lotus net ping` and `lotus-miner net ping`.
This commit is contained in:
Phi 2022-10-10 08:31:55 +02:00
parent e57a27e12a
commit 0645225801
3 changed files with 5 additions and 4 deletions

View File

@ -124,8 +124,9 @@ var NetPeers = &cli.Command{
}
var NetPing = &cli.Command{
Name: "ping",
Usage: "Ping peers",
Name: "ping",
Usage: "Ping peers",
ArgsUsage: "[peerMultiaddr]",
Flags: []cli.Flag{
&cli.IntFlag{
Name: "count",

View File

@ -1241,7 +1241,7 @@ NAME:
lotus-miner net ping - Ping peers
USAGE:
lotus-miner net ping [command options] [arguments...]
lotus-miner net ping [command options] [peerMultiaddr]
OPTIONS:
--count value, -c value specify the number of times it should ping (default: 10)

View File

@ -2542,7 +2542,7 @@ NAME:
lotus net ping - Ping peers
USAGE:
lotus net ping [command options] [arguments...]
lotus net ping [command options] [peerMultiaddr]
OPTIONS:
--count value, -c value specify the number of times it should ping (default: 10)