aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-20 23:59:41 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-20 23:59:41 +0800
commitc8e2b3710cec47f023fd01c42ea829579a2753be (patch)
treef26334a03bb6375daa1f580bd4ad5d0b42fc055b /cmd/utils
parent8830403acfea745bd5e256d1498727e9128f02ae (diff)
downloaddexon-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.go6
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",