From 7214abfa3f26bb1e29452cb27b07349b4de8ea10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 28 Nov 2023 11:24:10 +0100 Subject: [PATCH] bench: --show-inputs instead of --output-inputs --- cmd/lotus-bench/simple.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lotus-bench/simple.go b/cmd/lotus-bench/simple.go index 31fcdc4c3..09df22078 100644 --- a/cmd/lotus-bench/simple.go +++ b/cmd/lotus-bench/simple.go @@ -659,7 +659,7 @@ var simpleWinningPost = &cli.Command{ Value: "t01000", }, &cli.BoolFlag{ - Name: "output-inputs", + Name: "show-inputs", Usage: "output inputs for winning post generation", }, }, @@ -733,7 +733,7 @@ var simpleWinningPost = &cli.Command{ fmt.Printf("Proof %s (%s)\n", end.Sub(challenge), bps(sectorSize, 1, end.Sub(challenge))) fmt.Println(base64.StdEncoding.EncodeToString(proof[0].ProofBytes)) - if cctx.Bool("output-inputs") { + if cctx.Bool("show-inputs") { fmt.Println("GenerateWinningPoStWithVanilla info:") fmt.Printf(" wpt: %d\n", wpt)