diff --git a/cmd/lotus-shed/datastore-vlog.go b/cmd/lotus-shed/datastore-vlog.go index 36abaf995..936d33849 100644 --- a/cmd/lotus-shed/datastore-vlog.go +++ b/cmd/lotus-shed/datastore-vlog.go @@ -34,13 +34,17 @@ var datastoreVlog2CarCmd = &cli.Command{ Usage: "datastore prefix", Value: "/blocks/", }, - &cli.Uint64Flag{Name: "max-size", Value: 32000}, + &cli.Uint64Flag{ + Name: "max-size", + Value: 32000, + Usage: "max single car size in MiB", + }, }, ArgsUsage: "[vlog...]", Action: func(cctx *cli.Context) error { ctx := cctx.Context - maxSz := uint64(cctx.Uint64("max-size") << 20) + maxSz := cctx.Uint64("max-size") << 20 carb := &rawCarb{ max: maxSz,