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{
|
var NetPing = &cli.Command{
|
||||||
Name: "ping",
|
Name: "ping",
|
||||||
Usage: "Ping peers",
|
Usage: "Ping peers",
|
||||||
|
ArgsUsage: "[peerMultiaddr]",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.IntFlag{
|
&cli.IntFlag{
|
||||||
Name: "count",
|
Name: "count",
|
||||||
|
@ -1241,7 +1241,7 @@ NAME:
|
|||||||
lotus-miner net ping - Ping peers
|
lotus-miner net ping - Ping peers
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
lotus-miner net ping [command options] [arguments...]
|
lotus-miner net ping [command options] [peerMultiaddr]
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
--count value, -c value specify the number of times it should ping (default: 10)
|
--count value, -c value specify the number of times it should ping (default: 10)
|
||||||
|
@ -2542,7 +2542,7 @@ NAME:
|
|||||||
lotus net ping - Ping peers
|
lotus net ping - Ping peers
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
lotus net ping [command options] [arguments...]
|
lotus net ping [command options] [peerMultiaddr]
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
--count value, -c value specify the number of times it should ping (default: 10)
|
--count value, -c value specify the number of times it should ping (default: 10)
|
||||||
|
Loading…
Reference in New Issue
Block a user