Merge pull request #9459 from filecoin-project/fix/netping-arg

fix: ux: specify arg in `net ping` cmd
This commit is contained in:
Łukasz Magiera 2022-10-10 14:42:17 +02:00 committed by GitHub
commit d845e65443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)