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/chaincmd.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/chaincmd.go')
-rw-r--r-- | cmd/geth/chaincmd.go | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index ff27a9dfb..87548865b 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -48,7 +48,6 @@ var ( ArgsUsage: "<genesisPath>", Flags: []cli.Flag{ utils.DataDirFlag, - utils.LightModeFlag, }, Category: "BLOCKCHAIN COMMANDS", Description: ` @@ -66,7 +65,7 @@ It expects the genesis file as argument.`, Flags: []cli.Flag{ utils.DataDirFlag, utils.CacheFlag, - utils.LightModeFlag, + utils.SyncModeFlag, utils.GCModeFlag, utils.CacheDatabaseFlag, utils.CacheGCFlag, @@ -87,7 +86,7 @@ processing will proceed even if an individual RLP-file import failure occurs.`, Flags: []cli.Flag{ utils.DataDirFlag, utils.CacheFlag, - utils.LightModeFlag, + utils.SyncModeFlag, }, Category: "BLOCKCHAIN COMMANDS", Description: ` @@ -105,7 +104,7 @@ be gzipped.`, Flags: []cli.Flag{ utils.DataDirFlag, utils.CacheFlag, - utils.LightModeFlag, + utils.SyncModeFlag, }, Category: "BLOCKCHAIN COMMANDS", Description: ` @@ -119,7 +118,7 @@ be gzipped.`, Flags: []cli.Flag{ utils.DataDirFlag, utils.CacheFlag, - utils.LightModeFlag, + utils.SyncModeFlag, }, Category: "BLOCKCHAIN COMMANDS", Description: ` @@ -149,7 +148,6 @@ The first argument must be the directory containing the blockchain to download f ArgsUsage: " ", Flags: []cli.Flag{ utils.DataDirFlag, - utils.LightModeFlag, }, Category: "BLOCKCHAIN COMMANDS", Description: ` @@ -163,7 +161,7 @@ Remove blockchain and state databases`, Flags: []cli.Flag{ utils.DataDirFlag, utils.CacheFlag, - utils.LightModeFlag, + utils.SyncModeFlag, }, Category: "BLOCKCHAIN COMMANDS", Description: ` |