Unverified Commit db35d77b authored by ligi's avatar ligi Committed by GitHub

cmd, geth: CLI help fixes (#22220)

* cmd, geth: Reflect command being optional - closes 22218

* cmd, geth: Set current year to 2021
parent f26c19cb
...@@ -51,10 +51,10 @@ OPTIONS: ...@@ -51,10 +51,10 @@ OPTIONS:
AppHelpTemplate = `NAME: AppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}} {{.App.Name}} - {{.App.Usage}}
Copyright 2013-2019 The go-ethereum Authors Copyright 2013-2021 The go-ethereum Authors
USAGE: USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}} {{.App.HelpName}} [options]{{if .App.Commands}} [command] [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
{{if .App.Version}} {{if .App.Version}}
VERSION: VERSION:
{{.App.Version}} {{.App.Version}}
...@@ -77,7 +77,7 @@ COPYRIGHT: ...@@ -77,7 +77,7 @@ COPYRIGHT:
ClefAppHelpTemplate = `NAME: ClefAppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}} {{.App.Name}} - {{.App.Usage}}
Copyright 2013-2019 The go-ethereum Authors Copyright 2013-2021 The go-ethereum Authors
USAGE: USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}} {{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment