aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 05:51:50 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 06:08:46 +0800
commit73d1ebe244644c2d74a1c0c38a3b339e72140886 (patch)
tree34acef048536af9ed631a7badb6eb1d0010129ca /cmd/ethereum
parentb4fa94c4b1459e71d4f11a3178cf56edf2b4aed3 (diff)
downloadgo-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.tar
go-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.tar.gz
go-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.tar.bz2
go-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.tar.lz
go-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.tar.xz
go-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.tar.zst
go-tangerine-73d1ebe244644c2d74a1c0c38a3b339e72140886.zip
cmd/utils: add NewApp
Diffstat (limited to 'cmd/ethereum')
-rw-r--r--cmd/ethereum/main.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index f12616e17..f5215c587 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -45,12 +45,10 @@ const (
var (
clilogger = logger.NewLogger("CLI")
- app = cli.NewApp()
+ app = utils.NewApp(Version, "the go-ethereum command line interface")
)
func init() {
- app.Version = Version
- app.Usage = "the go-ethereum command-line client"
app.Action = run
app.HideVersion = true // we have a command to print the version
app.Commands = []cli.Command{
@@ -107,8 +105,6 @@ runtime will execute the file and exit.
Usage: `import a blockchain file`,
},
}
- app.Author = ""
- app.Email = ""
app.Flags = []cli.Flag{
utils.BootnodesFlag,
utils.DataDirFlag,