Merge pull request #9459 from filecoin-project/fix/netping-arg
fix: ux: specify arg in `net ping` cmd
This commit is contained in:
commit
d845e65443
@ -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",
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user