cmd/swarm: correct swarm version on --help

pull/17799/head
Anton Evangelatov 6 years ago
parent b69942befe
commit 9a749dcde5
  1. 4
      cmd/swarm/main.go

@ -256,12 +256,12 @@ func init() {
utils.ListenPortFlag.Value = 30399 utils.ListenPortFlag.Value = 30399
} }
var app = utils.NewApp(gitCommit, "Ethereum Swarm") var app = utils.NewApp("", "Ethereum Swarm")
// This init function creates the cli.App. // This init function creates the cli.App.
func init() { func init() {
app.Action = bzzd app.Action = bzzd
app.HideVersion = true // we have a command to print the version app.Version = sv.ArchiveVersion(gitCommit)
app.Copyright = "Copyright 2013-2016 The go-ethereum Authors" app.Copyright = "Copyright 2013-2016 The go-ethereum Authors"
app.Commands = []cli.Command{ app.Commands = []cli.Command{
{ {

Loading…
Cancel
Save