aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-10-01 19:28:07 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-10-01 19:28:07 +0800
commit9a749dcde5c5545bce735363422f71188ed13214 (patch)
tree487d977edbc92ab2a0bb23ac16d56d9d5384bec3 /cmd/swarm
parentb69942befeb9f1af55cad0f91953bdaea2ea3efb (diff)
downloadgo-tangerine-9a749dcde5c5545bce735363422f71188ed13214.tar.gz
go-tangerine-9a749dcde5c5545bce735363422f71188ed13214.tar.zst
go-tangerine-9a749dcde5c5545bce735363422f71188ed13214.zip
cmd/swarm: correct swarm version on --help
Diffstat (limited to 'cmd/swarm')
-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{
{