mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
cac5d0f234
* giving commands more clear names per issue #11287 * mark the top-level help text for cpt deprecated Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
18 lines
396 B
Go
18 lines
396 B
Go
package checkpoint
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
var checkpointCmd = &cli.Command{
|
|
Name: "latest",
|
|
Usage: "deprecated - please use 'prysmctl weak-subjectivity checkpoint' instead!",
|
|
Action: cliDeprecatedLatest,
|
|
}
|
|
|
|
func cliDeprecatedLatest(_ *cli.Context) error {
|
|
return fmt.Errorf("This command has moved. Please use 'prysmctl weak-subjectivity checkpoint' instead!")
|
|
}
|