mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
This commit adds default values to CLI helper and docs. When the default value of a string flag, slice string flag, or map string flag is empty, its helper message won't show any default value.
293 B
293 B
Chain sethead
The chain sethead <number> command sets the current chain to a certain block.
Arguments
number: The block number to roll back.
Options
-
address: Address of the grpc endpoint (default: 127.0.0.1:3131) -
yes: Force set head (default: false)