minor fixes.

This commit is contained in:
Raúl Kripalani 2020-09-30 14:57:24 +01:00
parent eb6191d0ff
commit f58881e966
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ var extractManyCmd = &cli.Command{
Destination: &extractManyFlags.in,
},
&cli.StringFlag{
Name: "out-dir",
Name: "outdir",
Usage: "output directory",
Destination: &extractManyFlags.outdir,
},
@ -216,7 +216,7 @@ func runExtractMany(c *cli.Context) error {
}
if merr.ErrorOrNil() != nil {
log.Println(color.YellowString("done processing with errors: %s", err))
log.Println(color.YellowString("done processing with errors: %v", merr))
} else {
log.Println(color.GreenString("done processing with no errors"))
}

View File

@ -11,7 +11,7 @@ import (
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/lib/blockstore"
"github.com/filecoin-project/specs-actors/actors/util/adt"
"github.com/filecoin-project/lotus/chain/actors/adt"
blocks "github.com/ipfs/go-block-format"
"github.com/ipfs/go-blockservice"