verifreg: fix deprecation log
This commit is contained in:
parent
8552cdb54c
commit
a9b40c448b
@ -193,7 +193,7 @@ var verifRegVerifyClientCmd = &cli.Command{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
fmt.Println("DEPRECATED: This behavior is being moved to `lotus verifreg`")
|
fmt.Println("DEPRECATED: This behavior is being moved to `lotus filplus`")
|
||||||
froms := cctx.String("from")
|
froms := cctx.String("from")
|
||||||
if froms == "" {
|
if froms == "" {
|
||||||
return fmt.Errorf("must specify from address with --from")
|
return fmt.Errorf("must specify from address with --from")
|
||||||
@ -262,7 +262,7 @@ var verifRegListVerifiersCmd = &cli.Command{
|
|||||||
Usage: "list all verifiers",
|
Usage: "list all verifiers",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
fmt.Println("DEPRECATED: This behavior is being moved to `lotus verifreg`")
|
fmt.Println("DEPRECATED: This behavior is being moved to `lotus filplus`")
|
||||||
api, closer, err := lcli.GetFullNodeAPI(cctx)
|
api, closer, err := lcli.GetFullNodeAPI(cctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
@ -294,7 +294,7 @@ var verifRegListClientsCmd = &cli.Command{
|
|||||||
Usage: "list all verified clients",
|
Usage: "list all verified clients",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
fmt.Println("DEPRECATED: This behavior is being moved to `lotus verifreg`")
|
fmt.Println("DEPRECATED: This behavior is being moved to `lotus filplus`")
|
||||||
api, closer, err := lcli.GetFullNodeAPI(cctx)
|
api, closer, err := lcli.GetFullNodeAPI(cctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
@ -326,7 +326,7 @@ var verifRegCheckClientCmd = &cli.Command{
|
|||||||
Usage: "check verified client remaining bytes",
|
Usage: "check verified client remaining bytes",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
fmt.Println("DEPRECATED: This behavior is being moved to `lotus verifreg`")
|
fmt.Println("DEPRECATED: This behavior is being moved to `lotus filplus`")
|
||||||
if !cctx.Args().Present() {
|
if !cctx.Args().Present() {
|
||||||
return fmt.Errorf("must specify client address to check")
|
return fmt.Errorf("must specify client address to check")
|
||||||
}
|
}
|
||||||
@ -362,7 +362,7 @@ var verifRegCheckVerifierCmd = &cli.Command{
|
|||||||
Usage: "check verifiers remaining bytes",
|
Usage: "check verifiers remaining bytes",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
fmt.Println("DEPRECATED: This behavior is being moved to `lotus verifreg`")
|
fmt.Println("DEPRECATED: This behavior is being moved to `lotus filplus`")
|
||||||
if !cctx.Args().Present() {
|
if !cctx.Args().Present() {
|
||||||
return fmt.Errorf("must specify verifier address to check")
|
return fmt.Errorf("must specify verifier address to check")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user