aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/usage.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-01-28 23:11:24 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-01-28 23:11:24 +0800
commit528dcc3814aa1ee5bfcf3812aa4085f45a6623c4 (patch)
tree89ee7b6627e61ab6af52f32abef5595ce34b926b /cmd/geth/usage.go
parentae1a137ce7daa885938e010dccd8436f8570329f (diff)
parent3750d835a1697f6784c727074cc959dda33cdcf3 (diff)
downloaddexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.gz
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.bz2
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.lz
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.xz
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.zst
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.zip
Merge pull request #2151 from fjl/debug-api
internal/debug: APIs for profiling and tracing
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",