[utils] point users to --syncmode under DEPRECATED

Indicate that --light and --fast options are replaced by --syncmode
This commit is contained in:
Martin Klepsch 2018-04-26 12:39:54 +02:00
parent 86be91b3e2
commit 11fb1b67e1
No known key found for this signature in database
GPG key ID: 1A35E702AD48A9F6

View file

@ -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{