aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/flags.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 19:18:26 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 19:18:26 +0800
commit15f491e5007d1507f20d0edce36cc9c0bd5cbd37 (patch)
treedb8fcf0b0066ff66d91f6e89d7c89951c440b395 /cmd/ethereum/flags.go
parent5817dab89e404847764eb74b35539c01747743f3 (diff)
downloaddexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.gz
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.zst
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.zip
Clean up REPL
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r--cmd/ethereum/flags.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index 0866ef3dd..a3004f503 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -120,6 +120,7 @@ func Init() {
flag.BoolVar(&StartMining, "mine", false, "start mining")
flag.BoolVar(&StartJsConsole, "js", false, "launches javascript console")
flag.BoolVar(&PrintVersion, "version", false, "prints version number")
+ flag.IntVar(&MinerThreads, "minerthreads", runtime.NumCPU(), "number of miner threads")
// Network stuff
var (