aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-21 00:14:49 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-21 00:14:49 +0800
commit3b008723db3f89696dab53b311cbd2efc987a01f (patch)
tree810fb82f7fd5d107f68bb0fd8b4ba39b48d5cd58 /cmd/utils/flags.go
parentc8e2b3710cec47f023fd01c42ea829579a2753be (diff)
downloaddexon-3b008723db3f89696dab53b311cbd2efc987a01f.tar.gz
dexon-3b008723db3f89696dab53b311cbd2efc987a01f.tar.zst
dexon-3b008723db3f89696dab53b311cbd2efc987a01f.zip
cmd/geth, cmd/utils: invert --pprof once more
Diffstat (limited to 'cmd/utils/flags.go')
-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 429007642..f81645e4e 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(),
}
- PProfDisabledFlag = cli.BoolFlag{
- Name: "nopprof",
- Usage: "Whether the profiling server should be disabled",
+ PProfEanbledFlag = cli.BoolFlag{
+ Name: "pprof",
+ Usage: "Whether the profiling server should be enabled",
}
PProfPortFlag = cli.IntFlag{
Name: "pprofport",