clean up flag descriptions

This commit is contained in:
Luke Williams 2019-03-01 19:41:07 +01:00
parent 43cfdd9b26
commit 211e6c7f53

View file

@ -126,12 +126,12 @@ var (
} }
NetworkIdFlag = cli.Uint64Flag{ NetworkIdFlag = cli.Uint64Flag{
Name: "networkid", Name: "networkid",
Usage: "Network identifier (integer, 1=Frontier, 2=Morden (disused), 3=Ropsten, 4=Rinkeby)", Usage: "Network identifier (integer, 88=Mainnet, 9=Testnet (legacy))",
Value: eth.DefaultConfig.NetworkId, Value: eth.DefaultConfig.NetworkId,
} }
TestnetFlag = cli.BoolFlag{ TestnetFlag = cli.BoolFlag{
Name: "testnet", Name: "testnet",
Usage: "Ropsten network: pre-configured proof-of-work test network", Usage: "Pre-configured proof-of-work test network (legacy)",
} }
DevModeFlag = cli.BoolFlag{ DevModeFlag = cli.BoolFlag{
Name: "dev", Name: "dev",
@ -148,16 +148,16 @@ var (
} }
FastSyncFlag = cli.BoolFlag{ FastSyncFlag = cli.BoolFlag{
Name: "fast", Name: "fast",
Usage: "Enable fast syncing through state downloads - Currently UNSUPPORTED", Usage: "Enable fast syncing through state downloads",
} }
LightModeFlag = cli.BoolFlag{ LightModeFlag = cli.BoolFlag{
Name: "light", Name: "light",
Usage: "Enable light client mode", Usage: "Enable light client mode - currently unsupported",
} }
defaultSyncMode = eth.DefaultConfig.SyncMode defaultSyncMode = eth.DefaultConfig.SyncMode
SyncModeFlag = TextMarshalerFlag{ SyncModeFlag = TextMarshalerFlag{
Name: "syncmode", Name: "syncmode",
Usage: `Blockchain sync mode ("fast", "full", or "light")`, Usage: `Blockchain sync mode ("fast", "full")`,
Value: &defaultSyncMode, Value: &defaultSyncMode,
} }