Skip to content

Commit 852aa14

Browse files
martinklepschkaralabe
authored andcommitted
cmd/utils: point users to --syncmode under DEPRECATED (#16572)
Indicate that --light and --fast options are replaced by --syncmode
1 parent b724d1a commit 852aa14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/utils/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ var (
158158
}
159159
FastSyncFlag = cli.BoolFlag{
160160
Name: "fast",
161-
Usage: "Enable fast syncing through state downloads",
161+
Usage: "Enable fast syncing through state downloads (replaced by --syncmode)",
162162
}
163163
LightModeFlag = cli.BoolFlag{
164164
Name: "light",
165-
Usage: "Enable light client mode",
165+
Usage: "Enable light client mode (replaced by --syncmode)",
166166
}
167167
defaultSyncMode = eth.DefaultConfig.SyncMode
168168
SyncModeFlag = TextMarshalerFlag{

0 commit comments

Comments
 (0)