go fmt ./client.go
This commit is contained in:
parent
4eaf89666f
commit
135186e33d
@ -356,9 +356,9 @@ The minimum value is 518400 (6 months).`,
|
||||
&CidBaseFlag,
|
||||
},
|
||||
Action: func(cctx *cli.Context) error {
|
||||
|
||||
|
||||
expectedArgsMsg := "expected 4 args: dataCid, miner, price, duration"
|
||||
|
||||
|
||||
if !cctx.Args().Present() {
|
||||
if cctx.Bool("manual-stateless-deal") {
|
||||
return xerrors.New("--manual-stateless-deal can not be combined with interactive deal mode: you must specify the " + expectedArgsMsg)
|
||||
|
Loading…
Reference in New Issue
Block a user