From ba2f7c2b3a829a1bbbaafa70869bb4f8f556f933 Mon Sep 17 00:00:00 2001 From: Tuna Date: Thu, 26 Jul 2018 15:25:09 +0700 Subject: [PATCH] clean up a bit geth versioning --- cmd/tomo/main.go | 4 ++-- cmd/tomo/usage.go | 2 +- params/version.go | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/tomo/main.go b/cmd/tomo/main.go index b2036adab8..761cde2876 100644 --- a/cmd/tomo/main.go +++ b/cmd/tomo/main.go @@ -51,7 +51,7 @@ var ( // Git SHA1 commit hash of the release (set via linker flags) gitCommit = "" // The app that holds all commands and flags. - app = utils.NewApp(gitCommit, "the go-ethereum command line interface") + app = utils.NewApp(gitCommit, "the tomochain command line interface") // flags that configure the node nodeFlags = []cli.Flag{ utils.IdentityFlag, @@ -151,7 +151,7 @@ func init() { // Initialize the CLI app and start tomo app.Action = tomo app.HideVersion = true // we have a command to print the version - app.Copyright = "Copyright 2013-2017 The go-ethereum Authors" + app.Copyright = "Copyright (c) 2018 Tomochain" app.Commands = []cli.Command{ // See chaincmd.go: initCommand, diff --git a/cmd/tomo/usage.go b/cmd/tomo/usage.go index f2750564d6..77e753f905 100644 --- a/cmd/tomo/usage.go +++ b/cmd/tomo/usage.go @@ -33,7 +33,7 @@ import ( var AppHelpTemplate = `NAME: {{.App.Name}} - {{.App.Usage}} - Copyright 2013-2017 The go-ethereum Authors + Copyright (c) 2018 Tomochain USAGE: {{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}} diff --git a/params/version.go b/params/version.go index 181f84631e..5176c4e445 100644 --- a/params/version.go +++ b/params/version.go @@ -21,9 +21,9 @@ import ( ) const ( - VersionMajor = 1 // Major version component of the current release - VersionMinor = 8 // Minor version component of the current release - VersionPatch = 4 // Patch version component of the current release + VersionMajor = 0 // Major version component of the current release + VersionMinor = 1 // Minor version component of the current release + VersionPatch = 0 // Patch version component of the current release VersionMeta = "unstable" // Version metadata to append to the version string )