From 1bf7e6a408914ed213f3c8e5d9a68abefa1bc77c Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Fri, 11 Feb 2022 20:02:56 +0000 Subject: [PATCH] Fix `gen-check` --- documentation/en/cli-lotus-miner.md | 66 +++++++++++++++++++++++------ documentation/en/cli-lotus.md | 66 +++++++++++++++++++++++------ 2 files changed, 108 insertions(+), 24 deletions(-) diff --git a/documentation/en/cli-lotus-miner.md b/documentation/en/cli-lotus-miner.md index e73621762..81cce2618 100644 --- a/documentation/en/cli-lotus-miner.md +++ b/documentation/en/cli-lotus-miner.md @@ -1214,18 +1214,21 @@ USAGE: lotus-miner net command [command options] [arguments...] COMMANDS: - peers Print peers - connect Connect to a peer - listen List listen addresses - id Get node identity - findpeer Find the addresses of a given peerID - scores Print peers' pubsub scores - reachability Print information about reachability from the internet - bandwidth Print bandwidth usage information - block Manage network connection gating rules - stat Report resource usage for a scope - limit Get or set resource limits for a scope - help, h Shows a list of commands or help for one command + peers Print peers + connect Connect to a peer + listen List listen addresses + id Get node identity + findpeer Find the addresses of a given peerID + scores Print peers' pubsub scores + reachability Print information about reachability from the internet + bandwidth Print bandwidth usage information + block Manage network connection gating rules + stat Report resource usage for a scope + limit Get or set resource limits for a scope + protect Add one or more peer IDs to the list of protected peer connections + unprotect Remove one or more peer IDs from the list of protected peer connections. + list-protected List the peer IDs with protected connection. + help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) @@ -1539,6 +1542,45 @@ OPTIONS: ``` +### lotus-miner net protect +``` +NAME: + lotus-miner net protect - Add one or more peer IDs to the list of protected peer connections + +USAGE: + lotus-miner net protect [command options] [...] + +OPTIONS: + --help, -h show help (default: false) + +``` + +### lotus-miner net unprotect +``` +NAME: + lotus-miner net unprotect - Remove one or more peer IDs from the list of protected peer connections. + +USAGE: + lotus-miner net unprotect [command options] [...] + +OPTIONS: + --help, -h show help (default: false) + +``` + +### lotus-miner net list-protected +``` +NAME: + lotus-miner net list-protected - List the peer IDs with protected connection. + +USAGE: + lotus-miner net list-protected [command options] [arguments...] + +OPTIONS: + --help, -h show help (default: false) + +``` + ## lotus-miner pieces ``` NAME: diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 3dd7043bd..315f2f055 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -2584,18 +2584,21 @@ USAGE: lotus net command [command options] [arguments...] COMMANDS: - peers Print peers - connect Connect to a peer - listen List listen addresses - id Get node identity - findpeer Find the addresses of a given peerID - scores Print peers' pubsub scores - reachability Print information about reachability from the internet - bandwidth Print bandwidth usage information - block Manage network connection gating rules - stat Report resource usage for a scope - limit Get or set resource limits for a scope - help, h Shows a list of commands or help for one command + peers Print peers + connect Connect to a peer + listen List listen addresses + id Get node identity + findpeer Find the addresses of a given peerID + scores Print peers' pubsub scores + reachability Print information about reachability from the internet + bandwidth Print bandwidth usage information + block Manage network connection gating rules + stat Report resource usage for a scope + limit Get or set resource limits for a scope + protect Add one or more peer IDs to the list of protected peer connections + unprotect Remove one or more peer IDs from the list of protected peer connections. + list-protected List the peer IDs with protected connection. + help, h Shows a list of commands or help for one command OPTIONS: --help, -h show help (default: false) @@ -2909,6 +2912,45 @@ OPTIONS: ``` +### lotus net protect +``` +NAME: + lotus net protect - Add one or more peer IDs to the list of protected peer connections + +USAGE: + lotus net protect [command options] [...] + +OPTIONS: + --help, -h show help (default: false) + +``` + +### lotus net unprotect +``` +NAME: + lotus net unprotect - Remove one or more peer IDs from the list of protected peer connections. + +USAGE: + lotus net unprotect [command options] [...] + +OPTIONS: + --help, -h show help (default: false) + +``` + +### lotus net list-protected +``` +NAME: + lotus net list-protected - List the peer IDs with protected connection. + +USAGE: + lotus net list-protected [command options] [arguments...] + +OPTIONS: + --help, -h show help (default: false) + +``` + ## lotus sync ``` NAME: