From 600624e7b2c03729e93727c83e74951ff939c93f Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Tue, 13 Sep 2022 10:23:15 -0400 Subject: [PATCH] make gen --- cli/beneficiary.go | 7 +++--- documentation/en/cli-lotus.md | 45 +++++++++++++++++++++++++++++------ 2 files changed, 42 insertions(+), 10 deletions(-) diff --git a/cli/beneficiary.go b/cli/beneficiary.go index 15c51cd1b7f..74569a961d4 100644 --- a/cli/beneficiary.go +++ b/cli/beneficiary.go @@ -4,12 +4,13 @@ import ( "bytes" "fmt" - "github.com/filecoin-project/go-state-types/abi" - "github.com/filecoin-project/lotus/build" "github.com/urfave/cli/v2" "golang.org/x/xerrors" "github.com/filecoin-project/go-address" + "github.com/filecoin-project/go-state-types/abi" + + "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/chain/types" ) @@ -23,7 +24,7 @@ var beneficiaryCmd = &cli.Command{ var beneficiaryWithdrawCmd = &cli.Command{ Name: "withdraw", - Usage: "withdraw available balance to beneficiary address. Will not work from non-beneficiary owner addresses. Use lotus-miner for non-beneficary owner withdrawls", + Usage: "withdraw available balance to beneficiary address. Will not work from non-beneficiary owner addresses. Use lotus-miner for non-beneficiary owner withdrawls", ArgsUsage: "[miner address, amount (FIL)]", Flags: []cli.Flag{ &cli.IntFlag{ diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 0a064be7696..5ce82fd8d8d 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -16,13 +16,14 @@ COMMANDS: version Print version help, h Shows a list of commands or help for one command BASIC: - send Send funds between accounts - wallet Manage wallet - info Print node info - client Make deals, store data, retrieve data - msig Interact with a multisig wallet - filplus Interact with the verified registry actor used by Filplus - paych Manage payment channels + send Send funds between accounts + wallet Manage wallet + info Print node info + client Make deals, store data, retrieve data + msig Interact with a multisig wallet + filplus Interact with the verified registry actor used by Filplus + paych Manage payment channels + beneficiary Manage miner beneficiary DEVELOPER: auth Manage RPC permissions mpool Manage message pool @@ -1495,6 +1496,36 @@ OPTIONS: ``` +## lotus beneficiary +``` +NAME: + lotus beneficiary - Manage miner beneficiary + +USAGE: + lotus beneficiary command [command options] [arguments...] + +COMMANDS: + withdraw withdraw available balance to beneficiary address. Will not work from non-beneficiary owner addresses. Use lotus-miner for non-beneficary owner withdrawls + help, h Shows a list of commands or help for one command + +OPTIONS: + --help, -h show help (default: false) + +``` + +### lotus beneficiary withdraw +``` +NAME: + lotus beneficiary withdraw - withdraw available balance to beneficiary address. Will not work from non-beneficiary owner addresses. Use lotus-miner for non-beneficary owner withdrawls + +USAGE: + lotus beneficiary withdraw [command options] [miner address, amount (FIL)] + +OPTIONS: + --confidence value number of block confirmations to wait for (default: 5) + +``` + ## lotus auth ``` NAME: