From ea46a675501bfec6dbf88d71195304fc60622994 Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Sat, 3 Apr 2021 22:56:39 -0400 Subject: [PATCH] State CLI: Clarify sector helptext --- cli/state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/state.go b/cli/state.go index 409cda57f..3c032127f 100644 --- a/cli/state.go +++ b/cli/state.go @@ -1745,7 +1745,7 @@ var StateCircSupplyCmd = &cli.Command{ var StateSectorCmd = &cli.Command{ Name: "sector", Usage: "Get miner sector info", - ArgsUsage: "[miner address] [sector number]", + ArgsUsage: "[minerAddress] [sectorNumber]", Action: func(cctx *cli.Context) error { api, closer, err := GetFullNodeAPI(cctx) if err != nil { @@ -1756,7 +1756,7 @@ var StateSectorCmd = &cli.Command{ ctx := ReqContext(cctx) if cctx.Args().Len() != 2 { - return xerrors.Errorf("expected 2 params") + return xerrors.Errorf("expected 2 params: minerAddress and sectorNumber") } ts, err := LoadTipSet(ctx, cctx, api)