internal/flags: update copyright year to 2024 (#28760)

Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
Marius Kjærstad 2024-01-04 15:03:58 +01:00 committed by GitHub
parent 0b471c312a
commit 99eb49e601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -203,7 +203,6 @@ var app = flags.NewApp("the go-ethereum command line interface")
func init() { func init() {
// Initialize the CLI app and start Geth // Initialize the CLI app and start Geth
app.Action = geth app.Action = geth
app.Copyright = "Copyright 2013-2023 The go-ethereum Authors"
app.Commands = []*cli.Command{ app.Commands = []*cli.Command{
// See chaincmd.go: // See chaincmd.go:
initCommand, initCommand,

View File

@ -41,7 +41,7 @@ func NewApp(usage string) *cli.App {
app.EnableBashCompletion = true app.EnableBashCompletion = true
app.Version = params.VersionWithCommit(git.Commit, git.Date) app.Version = params.VersionWithCommit(git.Commit, git.Date)
app.Usage = usage app.Usage = usage
app.Copyright = "Copyright 2013-2023 The go-ethereum Authors" app.Copyright = "Copyright 2013-2024 The go-ethereum Authors"
app.Before = func(ctx *cli.Context) error { app.Before = func(ctx *cli.Context) error {
MigrateGlobalFlags(ctx) MigrateGlobalFlags(ctx)
return nil return nil