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
parent 4403158680
commit 2dbd597f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)