Skip to content

Commit

Permalink
cmd/devp2p, cmd/geth: add version in --help output (ethereum#26895)
Browse files Browse the repository at this point in the history
Not sure why this was removed, it's pretty useful to see the version
also in --help.
  • Loading branch information
fjl authored and shekhirin committed Jun 6, 2023
1 parent a82ab72 commit bd5edf9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cmd/devp2p/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
var app = flags.NewApp("go-ethereum devp2p tool")

func init() {
app.HideVersion = true
app.Flags = append(app.Flags, debug.Flags...)
app.Before = func(ctx *cli.Context) error {
flags.MigrateGlobalFlags(ctx)
Expand Down
1 change: 0 additions & 1 deletion cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ var app = flags.NewApp("the go-ethereum command line interface")
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-2023 The go-ethereum Authors"
app.Commands = []*cli.Command{
// See chaincmd.go:
Expand Down

0 comments on commit bd5edf9

Please sign in to comment.