diff --git a/beacon_chain/conf.nim b/beacon_chain/conf.nim index ad052a1335..557d280188 100644 --- a/beacon_chain/conf.nim +++ b/beacon_chain/conf.nim @@ -242,7 +242,7 @@ type name: "subscribe-all-subnets" .}: bool debugPeerdasSupernode* {. - hidden + debug defaultValue: false, name: "debug-peerdas-supernode" .}: bool @@ -397,7 +397,7 @@ type name: "verify-finalization" .}: bool stopAtEpoch* {. - hidden + debug desc: "The wall-time epoch at which to exit the program. (for testing purposes)" defaultValue: 0 name: "debug-stop-at-epoch" .}: uint64 @@ -557,7 +557,7 @@ type name: "light-client-data-max-periods" .}: Option[uint64] longRangeSync* {. - hidden + debug desc: "Enable long-range syncing (genesis sync)", defaultValue: LongRangeSyncMode.Lenient, name: "debug-long-range-sync".}: LongRangeSyncMode @@ -601,7 +601,7 @@ type # `--debug-invalidate-block-root` flag present until finality has # advanced beyond the problematic chain segment invalidBlockRoots* {. - hidden + debug desc: "List of beacon block roots that, if the EL responds with SYNCING/ACCEPTED, are treated as if their execution payload was INVALID" name: "debug-invalidate-block-root" .}: seq[Eth2Digest] @@ -685,14 +685,14 @@ type name: "history".}: HistoryMode trustedSetupFile* {. - hidden + debug desc: "Alternative EIP-4844 trusted setup file" defaultValue: none(string) defaultValueDesc: "Baked in trusted setup" name: "debug-trusted-setup-file" .}: Option[string] bandwidthEstimate* {. - hidden + debug desc: "Bandwidth estimate for the node (bits per second)" name: "debug-bandwidth-estimate" .}: Option[Natural] diff --git a/beacon_chain/conf_light_client.nim b/beacon_chain/conf_light_client.nim index 8a7752c5c1..31c54517aa 100644 --- a/beacon_chain/conf_light_client.nim +++ b/beacon_chain/conf_light_client.nim @@ -141,13 +141,13 @@ type LightClientConf* = object name: "jwt-secret" .}: Option[InputFile] bandwidthEstimate* {. - hidden + debug desc: "Bandwidth estimate for the node (bits per second)" name: "debug-bandwidth-estimate" .}: Option[Natural] # Testing stopAtEpoch* {. - hidden + debug desc: "The wall-time epoch at which to exit the program. (for testing purposes)" defaultValue: 0 name: "debug-stop-at-epoch" .}: uint64 diff --git a/docs/the_nimbus_book/src/options.md b/docs/the_nimbus_book/src/options.md index 2bb9b6a626..05650aac1f 100644 --- a/docs/the_nimbus_book/src/options.md +++ b/docs/the_nimbus_book/src/options.md @@ -26,6 +26,8 @@ nimbus_beacon_node [OPTIONS]... command The following options are available: + --help Show this help message and exit. Available arguments: debug. + --version Show program's version and exit. --config-file Loads the configuration from a TOML file. --log-level Sets the log level for process and topics (e.g. "DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none") [=INFO]. diff --git a/vendor/nim-confutils b/vendor/nim-confutils index f7e25d9d86..f5021c9202 160000 --- a/vendor/nim-confutils +++ b/vendor/nim-confutils @@ -1 +1 @@ -Subproject commit f7e25d9d86991eba0ff9f30b1c6e797b0aea143c +Subproject commit f5021c9202f6ebbad65ed87081b524acac4fedff