Skip to content

Commit

Permalink
cmd, geth: CLI help fixes (ethereum#22220)
Browse files Browse the repository at this point in the history
* cmd, geth: Reflect command being optional - closes 22218

* cmd, geth: Set current year to 2021
  • Loading branch information
ligi authored Jan 24, 2021
1 parent f26c19c commit db35d77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/flags/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ OPTIONS:
AppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}}
Copyright 2013-2019 The go-ethereum Authors
Copyright 2013-2021 The go-ethereum Authors
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}}
VERSION:
{{.App.Version}}
Expand All @@ -77,7 +77,7 @@ COPYRIGHT:
ClefAppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}}
Copyright 2013-2019 The go-ethereum Authors
Copyright 2013-2021 The go-ethereum Authors
USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
Expand Down

0 comments on commit db35d77

Please sign in to comment.