aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/usage.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-01-26 21:39:21 +0800
committerFelix Lange <fjl@twurst.com>2016-01-28 20:36:11 +0800
commit3750d835a1697f6784c727074cc959dda33cdcf3 (patch)
tree6183747f1ce69b6bb1ed256e4dd9a1bba0031d69 /cmd/geth/usage.go
parente287b56b69cdf8340f679e9cfd229c959cc45e24 (diff)
downloaddexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.gz
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.bz2
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.lz
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.xz
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.zst
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.zip
internal/debug: APIs for profiling and tracing
The debug package provides an RPC wrapper for glog settings and the debugging facilities of the Go runtime. They can be triggered through both command line flags and the IPC listener.
Diffstat (limited to 'cmd/geth/usage.go')
-rw-r--r--cmd/geth/usage.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index a9fce6418..051c51878 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -23,6 +23,7 @@ import (
"github.com/codegangsta/cli"
"github.com/ethereum/go-ethereum/cmd/utils"
+ "github.com/ethereum/go-ethereum/internal/debug"
)
// AppHelpTemplate is the test template for the default, global app help topic.
@@ -147,16 +148,8 @@ var AppHelpFlagGroups = []flagGroup{
},
},
{
- Name: "LOGGING AND DEBUGGING",
- Flags: []cli.Flag{
- utils.VerbosityFlag,
- utils.LogVModuleFlag,
- utils.BacktraceAtFlag,
- utils.LogFileFlag,
- utils.PProfEanbledFlag,
- utils.PProfPortFlag,
- utils.MetricsEnabledFlag,
- },
+ Name: "LOGGING AND DEBUGGING",
+ Flags: append([]cli.Flag{utils.MetricsEnabledFlag}, debug.Flags...),
},
{
Name: "EXPERIMENTAL",