Merge pull request #17799 from ethersphere/correct_swarm_version

cmd/swarm: correct swarm version on --help
This commit is contained in:
Viktor Trón 2018-10-02 08:02:30 +02:00 committed by GitHub
commit 83116a3479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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{
{ {