Skip to content

Commit f86913b

Browse files
authored
cmd/devp2p, cmd/geth: add version in --help output (#26895)
Not sure why this was removed, it's pretty useful to see the version also in --help.
1 parent 6bc68f8 commit f86913b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

cmd/devp2p/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929
var app = flags.NewApp("go-ethereum devp2p tool")
3030

3131
func init() {
32-
app.HideVersion = true
3332
app.Flags = append(app.Flags, debug.Flags...)
3433
app.Before = func(ctx *cli.Context) error {
3534
flags.MigrateGlobalFlags(ctx)

cmd/geth/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ var app = flags.NewApp("the go-ethereum command line interface")
205205
func init() {
206206
// Initialize the CLI app and start Geth
207207
app.Action = geth
208-
app.HideVersion = true // we have a command to print the version
209208
app.Copyright = "Copyright 2013-2023 The go-ethereum Authors"
210209
app.Commands = []*cli.Command{
211210
// See chaincmd.go:

0 commit comments

Comments
 (0)