diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-08-15 16:01:49 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-15 16:41:23 +0800 |
commit | 2a17fe25612b57d943862459dba88666685ffd69 (patch) | |
tree | 9c1e6b256256ae5b1e23d2fe634b8445cc65fb08 /cmd/geth/usage.go | |
parent | 212bba47ff13812ddabb642da463e58cda4ff20f (diff) | |
download | dexon-2a17fe25612b57d943862459dba88666685ffd69.tar dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.gz dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.bz2 dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.lz dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.xz dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.zst dexon-2a17fe25612b57d943862459dba88666685ffd69.zip |
cmd: polish miner flags, deprecate olds, add upgrade path
Diffstat (limited to 'cmd/geth/usage.go')
-rw-r--r-- | cmd/geth/usage.go | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index 9d63c68f7..9e18f7047 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -186,10 +186,10 @@ var AppHelpFlagGroups = []flagGroup{ utils.MiningEnabledFlag, utils.MinerThreadsFlag, utils.MinerNotifyFlag, - utils.EtherbaseFlag, - utils.TargetGasLimitFlag, - utils.GasPriceFlag, - utils.ExtraDataFlag, + utils.MinerGasPriceFlag, + utils.MinerGasTargetFlag, + utils.MinerEtherbaseFlag, + utils.MinerExtraDataFlag, }, }, { @@ -231,8 +231,11 @@ var AppHelpFlagGroups = []flagGroup{ { Name: "DEPRECATED", Flags: []cli.Flag{ - utils.FastSyncFlag, - utils.LightModeFlag, + utils.MinerLegacyThreadsFlag, + utils.MinerLegacyGasTargetFlag, + utils.MinerLegacyGasPriceFlag, + utils.MinerLegacyEtherbaseFlag, + utils.MinerLegacyExtraDataFlag, }, }, { |