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, Destination: &extractManyFlags.in,
}, },
&cli.StringFlag{ &cli.StringFlag{
Name: "out-dir", Name: "outdir",
Usage: "output directory", Usage: "output directory",
Destination: &extractManyFlags.outdir, Destination: &extractManyFlags.outdir,
}, },
@ -216,7 +216,7 @@ func runExtractMany(c *cli.Context) error {
} }
if merr.ErrorOrNil() != nil { 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 { } else {
log.Println(color.GreenString("done processing with no errors")) 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/api"
"github.com/filecoin-project/lotus/lib/blockstore" "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" blocks "github.com/ipfs/go-block-format"
"github.com/ipfs/go-blockservice" "github.com/ipfs/go-blockservice"