diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-04 03:17:51 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-04 03:17:51 +0800 |
commit | 253eb778d19af9204c9dd65e3963bd63f3bab6f0 (patch) | |
tree | 0f2278efcbc90bb3097f8210a70d706760281e6d /cmd/ethereum/flags.go | |
parent | 988391fc37d54f8ca4e49a03bf5f6b240a3dfa33 (diff) | |
parent | 7e224b683457884c3837967c34744c0a0996abd5 (diff) | |
download | dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.gz dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.bz2 dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.lz dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.xz dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.tar.zst dexon-253eb778d19af9204c9dd65e3963bd63f3bab6f0.zip |
Merge pull request #411 from ethersphere/readme
[WIP] Update Readme
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r-- | cmd/ethereum/flags.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go index 46a63d849..fe848397c 100644 --- a/cmd/ethereum/flags.go +++ b/cmd/ethereum/flags.go @@ -93,7 +93,7 @@ func Init() { flag.IntVar(&VmType, "vm", 0, "Virtual Machine type: 0-1: standard, debug") flag.StringVar(&Identifier, "id", "", "Custom client identifier") flag.StringVar(&KeyRing, "keyring", "", "identifier for keyring to use") - flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)") + flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file") flag.StringVar(&RpcListenAddress, "rpcaddr", "127.0.0.1", "address for json-rpc server to listen on") flag.IntVar(&RpcPort, "rpcport", 8545, "port to start json-rpc server on") @@ -106,8 +106,8 @@ func Init() { flag.StringVar(&Datadir, "datadir", ethutil.DefaultDataDir(), "specifies the datadir to use") flag.StringVar(&ConfigFile, "conf", defaultConfigFile, "config file") flag.StringVar(&DebugFile, "debug", "", "debug file (no debugging if not set)") - flag.IntVar(&LogLevel, "loglevel", int(logger.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)") - flag.StringVar(&LogFormat, "logformat", "std", "logformat: std,raw)") + flag.IntVar(&LogLevel, "loglevel", int(logger.InfoLevel), "loglevel: 0-5 (= silent,error,warn,info,debug,debug detail)") + flag.StringVar(&LogFormat, "logformat", "std", "logformat: std,raw") flag.BoolVar(&DiffTool, "difftool", false, "creates output for diff'ing. Sets LogLevel=0") flag.StringVar(&DiffType, "diff", "all", "sets the level of diff output [vm, all]. Has no effect if difftool=false") flag.BoolVar(&ShowGenesis, "genesis", false, "Dump the genesis block") @@ -117,7 +117,7 @@ func Init() { flag.StringVar(&DumpHash, "hash", "", "specify arg in hex") flag.IntVar(&DumpNumber, "number", -1, "specify arg in number") - flag.BoolVar(&StartMining, "mine", false, "start dagger mining") + 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") @@ -134,6 +134,7 @@ func Init() { flag.StringVar(&BootNodes, "bootnodes", "", "space-separated node URLs for discovery bootstrap") flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers") + flag.IntVar(&MinerThreads, "minerthreads", runtime.NumCPU(), "number of miner threads") flag.Parse() |