From a1675a8230dde442d4c8d6a6c2ead8c5cb26a7a1 Mon Sep 17 00:00:00 2001 From: Phi Date: Sun, 3 Jul 2022 11:51:50 +0200 Subject: [PATCH] ux: cli: add compute description Add description to the `lotus-miner proving compute` command. --- cmd/lotus-miner/proving.go | 3 ++- documentation/en/cli-lotus-miner.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/lotus-miner/proving.go b/cmd/lotus-miner/proving.go index f7fb460ce..35fb9a144 100644 --- a/cmd/lotus-miner/proving.go +++ b/cmd/lotus-miner/proving.go @@ -515,7 +515,8 @@ var provingCheckProvableCmd = &cli.Command{ } var provingComputeCmd = &cli.Command{ - Name: "compute", + Name: "compute", + Usage: "Compute simulated proving tasks", Subcommands: []*cli.Command{ provingComputeWindowPoStCmd, }, diff --git a/documentation/en/cli-lotus-miner.md b/documentation/en/cli-lotus-miner.md index 2e72af4a8..a4f9a8aee 100644 --- a/documentation/en/cli-lotus-miner.md +++ b/documentation/en/cli-lotus-miner.md @@ -2025,7 +2025,7 @@ COMMANDS: faults View the currently known proving faulty sectors information check Check sectors provable workers list workers - compute + compute Compute simulated proving tasks help, h Shows a list of commands or help for one command OPTIONS: @@ -2117,7 +2117,7 @@ OPTIONS: ### lotus-miner proving compute ``` NAME: - lotus-miner proving compute - A new cli application + lotus-miner proving compute - Compute simulated proving tasks USAGE: lotus-miner proving compute command [command options] [arguments...]