Skip to content

Commit db35d77

Browse files
authored
cmd, geth: CLI help fixes (ethereum#22220)
* cmd, geth: Reflect command being optional - closes 22218 * cmd, geth: Set current year to 2021
1 parent f26c19c commit db35d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/flags/helpers.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ OPTIONS:
5151
AppHelpTemplate = `NAME:
5252
{{.App.Name}} - {{.App.Usage}}
5353
54-
Copyright 2013-2019 The go-ethereum Authors
54+
Copyright 2013-2021 The go-ethereum Authors
5555
5656
USAGE:
57-
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
57+
{{.App.HelpName}} [options]{{if .App.Commands}} [command] [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
5858
{{if .App.Version}}
5959
VERSION:
6060
{{.App.Version}}
@@ -77,7 +77,7 @@ COPYRIGHT:
7777
ClefAppHelpTemplate = `NAME:
7878
{{.App.Name}} - {{.App.Usage}}
7979
80-
Copyright 2013-2019 The go-ethereum Authors
80+
Copyright 2013-2021 The go-ethereum Authors
8181
8282
USAGE:
8383
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}

0 commit comments

Comments
 (0)