diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-20 23:59:41 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-20 23:59:41 +0800 |
commit | c8e2b3710cec47f023fd01c42ea829579a2753be (patch) | |
tree | f26334a03bb6375daa1f580bd4ad5d0b42fc055b /cmd/utils | |
parent | 8830403acfea745bd5e256d1498727e9128f02ae (diff) | |
download | dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.tar dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.tar.gz dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.tar.bz2 dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.tar.lz dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.tar.xz dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.tar.zst dexon-c8e2b3710cec47f023fd01c42ea829579a2753be.zip |
cmd/geth, cmd/utils: use pprof disable flag, start globally
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 3b1fda32e..429007642 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -157,9 +157,9 @@ var ( Usage: "When set to a file and line number holding a logging statement a stack trace will be written to the Info log", Value: glog.GetTraceLocation(), } - PProfEnabledFlag = cli.BoolFlag{ - Name: "pprof", - Usage: "Whether the profiling server is enabled", + PProfDisabledFlag = cli.BoolFlag{ + Name: "nopprof", + Usage: "Whether the profiling server should be disabled", } PProfPortFlag = cli.IntFlag{ Name: "pprofport", |