Jelajahi Sumber

cmd/geth: update the copyright year in the geth command usage (#16537)

Vie 7 tahun lalu
induk
melakukan
26a4dbb467
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      cmd/geth/main.go
  2. 1 1
      cmd/geth/usage.go

+ 1 - 1
cmd/geth/main.go

@@ -146,7 +146,7 @@ func init() {
 	// Initialize the CLI app and start Geth
 	app.Action = geth
 	app.HideVersion = true // we have a command to print the version
-	app.Copyright = "Copyright 2013-2017 The go-ethereum Authors"
+	app.Copyright = "Copyright 2013-2018 The go-ethereum Authors"
 	app.Commands = []cli.Command{
 		// See chaincmd.go:
 		initCommand,

+ 1 - 1
cmd/geth/usage.go

@@ -33,7 +33,7 @@ import (
 var AppHelpTemplate = `NAME:
    {{.App.Name}} - {{.App.Usage}}
 
-   Copyright 2013-2017 The go-ethereum Authors
+   Copyright 2013-2018 The go-ethereum Authors
 
 USAGE:
    {{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}