aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2018-10-02 14:02:30 +0800
committerGitHub <noreply@github.com>2018-10-02 14:02:30 +0800
commit83116a3479beb2506c3be59a21f7616ae59d4dbe (patch)
tree2e088d115a5e20b71fd4910545a5726363b67b71 /cmd
parent2c8d5dec502bbf7dcbfe9c9e78085f37c5a41fc4 (diff)
parent9a749dcde5c5545bce735363422f71188ed13214 (diff)
downloadgo-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.tar
go-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.tar.gz
go-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.tar.bz2
go-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.tar.lz
go-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.tar.xz
go-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.tar.zst
go-tangerine-83116a3479beb2506c3be59a21f7616ae59d4dbe.zip
Merge pull request #17799 from ethersphere/correct_swarm_version
cmd/swarm: correct swarm version on --help
Diffstat (limited to 'cmd')
-rw-r--r--cmd/swarm/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go
index f1bec770e..5acf87c71 100644
--- a/cmd/swarm/main.go
+++ b/cmd/swarm/main.go
@@ -256,12 +256,12 @@ func init() {
utils.ListenPortFlag.Value = 30399
}
-var app = utils.NewApp(gitCommit, "Ethereum Swarm")
+var app = utils.NewApp("", "Ethereum Swarm")
// This init function creates the cli.App.
func init() {
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.Commands = []cli.Command{
{