Commit 852aa143 authored by Martin Klepsch's avatar Martin Klepsch Committed by Péter Szilágyi

cmd/utils: point users to --syncmode under DEPRECATED (#16572)

Indicate that --light and --fast options are replaced by --syncmode
parent b724d1aa
...@@ -158,11 +158,11 @@ var ( ...@@ -158,11 +158,11 @@ var (
} }
FastSyncFlag = cli.BoolFlag{ FastSyncFlag = cli.BoolFlag{
Name: "fast", Name: "fast",
Usage: "Enable fast syncing through state downloads", Usage: "Enable fast syncing through state downloads (replaced by --syncmode)",
} }
LightModeFlag = cli.BoolFlag{ LightModeFlag = cli.BoolFlag{
Name: "light", Name: "light",
Usage: "Enable light client mode", Usage: "Enable light client mode (replaced by --syncmode)",
} }
defaultSyncMode = eth.DefaultConfig.SyncMode defaultSyncMode = eth.DefaultConfig.SyncMode
SyncModeFlag = TextMarshalerFlag{ SyncModeFlag = TextMarshalerFlag{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment