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
3 changed files with 5 additions and 4 deletions
+3 -2
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",
+1 -1
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)
+1 -1
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)