rename --stop-at-epoch flag to --debug-stop-at-epoch (#5361)
This commit is contained in:
parent
6c42cfa79e
commit
8e413d9abb
|
@ -364,7 +364,7 @@ type
|
||||||
hidden
|
hidden
|
||||||
desc: "The wall-time epoch at which to exit the program. (for testing purposes)"
|
desc: "The wall-time epoch at which to exit the program. (for testing purposes)"
|
||||||
defaultValue: 0
|
defaultValue: 0
|
||||||
name: "stop-at-epoch" .}: uint64
|
name: "debug-stop-at-epoch" .}: uint64
|
||||||
|
|
||||||
stopAtSyncedEpoch* {.
|
stopAtSyncedEpoch* {.
|
||||||
hidden
|
hidden
|
||||||
|
@ -959,7 +959,7 @@ type
|
||||||
stopAtEpoch* {.
|
stopAtEpoch* {.
|
||||||
desc: "A positive epoch selects the epoch at which to stop"
|
desc: "A positive epoch selects the epoch at which to stop"
|
||||||
defaultValue: 0
|
defaultValue: 0
|
||||||
name: "stop-at-epoch" .}: uint64
|
name: "debug-stop-at-epoch" .}: uint64
|
||||||
|
|
||||||
payloadBuilderEnable* {.
|
payloadBuilderEnable* {.
|
||||||
desc: "Enable usage of beacon node with external payload builder (BETA)"
|
desc: "Enable usage of beacon node with external payload builder (BETA)"
|
||||||
|
|
|
@ -155,7 +155,7 @@ type LightClientConf* = object
|
||||||
hidden
|
hidden
|
||||||
desc: "The wall-time epoch at which to exit the program. (for testing purposes)"
|
desc: "The wall-time epoch at which to exit the program. (for testing purposes)"
|
||||||
defaultValue: 0
|
defaultValue: 0
|
||||||
name: "stop-at-epoch" .}: uint64
|
name: "debug-stop-at-epoch" .}: uint64
|
||||||
|
|
||||||
template databaseDir*(config: LightClientConf): string =
|
template databaseDir*(config: LightClientConf): string =
|
||||||
config.dataDir.databaseDir
|
config.dataDir.databaseDir
|
||||||
|
|
|
@ -220,7 +220,7 @@ while true; do
|
||||||
;;
|
;;
|
||||||
--stop-at-epoch)
|
--stop-at-epoch)
|
||||||
STOP_AT_EPOCH=$2
|
STOP_AT_EPOCH=$2
|
||||||
STOP_AT_EPOCH_FLAG="--stop-at-epoch=$2"
|
STOP_AT_EPOCH_FLAG="--debug-stop-at-epoch=$2"
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
--disable-htop)
|
--disable-htop)
|
||||||
|
|
Loading…
Reference in New Issue