minor fixes.
This commit is contained in:
parent
eb6191d0ff
commit
f58881e966
@ -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"))
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user