aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/usage.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-13 22:12:37 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-04-13 22:12:37 +0800
commit97f38ce4d6073544ac5f1fa10c318d3eae716258 (patch)
tree025c48cfe38e2da4a09ab02b2b3bd7ce8c5692d2 /cmd/geth/usage.go
parent732b75325ca989db1ce51c334560a5f015b136ba (diff)
downloadgo-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.tar
go-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.tar.gz
go-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.tar.bz2
go-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.tar.lz
go-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.tar.xz
go-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.tar.zst
go-tangerine-97f38ce4d6073544ac5f1fa10c318d3eae716258.zip
cmd/geth: update flag groups in the geth command usage
Diffstat (limited to 'cmd/geth/usage.go')
-rw-r--r--cmd/geth/usage.go17
1 files changed, 13 insertions, 4 deletions
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index a172b4775..457728154 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -30,7 +30,7 @@ import (
var AppHelpTemplate = `NAME:
{{.App.Name}} - {{.App.Usage}}
- Copyright 2013-2016 The go-ethereum Authors
+ Copyright 2013-2017 The go-ethereum Authors
USAGE:
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
@@ -64,14 +64,15 @@ var AppHelpFlagGroups = []flagGroup{
{
Name: "ETHEREUM",
Flags: []cli.Flag{
+ configFileFlag,
utils.DataDirFlag,
utils.KeyStoreDirFlag,
utils.NetworkIdFlag,
utils.TestNetFlag,
utils.DevModeFlag,
+ utils.SyncModeFlag,
+ utils.EthStatsURLFlag,
utils.IdentityFlag,
- utils.FastSyncFlag,
- utils.LightModeFlag,
utils.LightServFlag,
utils.LightPeersFlag,
utils.LightKDFFlag,
@@ -132,6 +133,7 @@ var AppHelpFlagGroups = []flagGroup{
utils.NATFlag,
utils.NoDiscoverFlag,
utils.DiscoveryV5Flag,
+ utils.NetrestrictFlag,
utils.NodeKeyFileFlag,
utils.NodeKeyHexFlag,
},
@@ -163,12 +165,19 @@ var AppHelpFlagGroups = []flagGroup{
{
Name: "LOGGING AND DEBUGGING",
Flags: append([]cli.Flag{
- utils.EthStatsURLFlag,
utils.MetricsEnabledFlag,
utils.FakePoWFlag,
+ utils.NoCompactionFlag,
}, debug.Flags...),
},
{
+ Name: "DEPRECATED",
+ Flags: []cli.Flag{
+ utils.FastSyncFlag,
+ utils.LightModeFlag,
+ },
+ },
+ {
Name: "EXPERIMENTAL",
Flags: []cli.Flag{
utils.WhisperEnabledFlag,