Add usage

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2021-11-26 15:01:05 +01:00
parent e3c7b8d006
commit 4d8be81a8f
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -310,7 +310,7 @@ func activeMiners(ctx context.Context, api v0api.FullNode) ([]address.Address, e
var dumpRLESectorCmd = &cli.Command{
Name: "dump-rles",
Usage: "",
Usage: "Dump AllocatedSectors RLEs from miners passed as arguments as run lengths in uint64 LE format.\nIf no arguments are passed, dumps all active miners in the state tree.",
Action: func(cctx *cli.Context) error {
api, closer, err := lcli.GetFullNodeAPI(cctx)
if err != nil {