Update cmd/lotus-storage-miner/actor.go

Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Frank
2021-04-08 11:14:53 +08:00
committed by GitHub
co-authored by Łukasz Magiera
parent 4403158680
commit 2dbd597f82
+1 -1
View File
@@ -66,7 +66,7 @@ var actorSetAddrsCmd = &cli.Command{
return cli.ShowSubcommandHelp(cctx)
}
if len(args) > 0 && unset {
return fmt.Errorf("unset should with no arguments")
return fmt.Errorf("unset can only be used with no arguments")
}
nodeAPI, closer, err := lcli.GetStorageMinerAPI(cctx)