diff options
author | Martin Klepsch <martinklepsch@googlemail.com> | 2018-04-27 17:32:06 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-04-27 17:32:06 +0800 |
commit | 852aa143ac42907f6f9ed427a2ee1f85ffe7f524 (patch) | |
tree | a479859e657a5951d0752a7f191e9093db72c9c4 | |
parent | b724d1aadac483984e7ea19931298dea43e3d280 (diff) | |
download | dexon-852aa143ac42907f6f9ed427a2ee1f85ffe7f524.tar.gz dexon-852aa143ac42907f6f9ed427a2ee1f85ffe7f524.tar.zst dexon-852aa143ac42907f6f9ed427a2ee1f85ffe7f524.zip |
cmd/utils: point users to --syncmode under DEPRECATED (#16572)
Indicate that --light and --fast options are replaced by --syncmode
-rw-r--r-- | cmd/utils/flags.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index ba8378ef2..ef5f6a9f0 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -158,11 +158,11 @@ var ( } FastSyncFlag = cli.BoolFlag{ Name: "fast", - Usage: "Enable fast syncing through state downloads", + Usage: "Enable fast syncing through state downloads (replaced by --syncmode)", } LightModeFlag = cli.BoolFlag{ Name: "light", - Usage: "Enable light client mode", + Usage: "Enable light client mode (replaced by --syncmode)", } defaultSyncMode = eth.DefaultConfig.SyncMode SyncModeFlag = TextMarshalerFlag{ |