aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Klepsch <martinklepsch@googlemail.com>2018-04-27 17:32:06 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-04-27 17:32:06 +0800
commit852aa143ac42907f6f9ed427a2ee1f85ffe7f524 (patch)
treea479859e657a5951d0752a7f191e9093db72c9c4
parentb724d1aadac483984e7ea19931298dea43e3d280 (diff)
downloaddexon-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.go4
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{