Tidy help text

This commit is contained in:
Paul Hauner
2023-07-07 14:59:13 +10:00
parent f576b94f20
commit 90a8f8a464

View File

@@ -1145,10 +1145,9 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
Arg::with_name("beacon-processor-work-queue-len") Arg::with_name("beacon-processor-work-queue-len")
.long("beacon-processor-work-queue-len") .long("beacon-processor-work-queue-len")
.value_name("INTEGER") .value_name("INTEGER")
.help("Specifies the length of the inbound event queue. Increasing this value \ .help("Specifies the length of the inbound event queue. \
may prevent messages from being dropped at risk of overwhelming the \ Higher values may prevent messages from being dropped while lower values \
host resources. Decreasing this value may cause messages to be dropped but \ may help protect the node from becoming overwhelmed.")
may help resource-constrained hosts.")
.default_value("16384") .default_value("16384")
.takes_value(true) .takes_value(true)
) )
@@ -1157,9 +1156,8 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.long("beacon-processor-reprocess-queue-len") .long("beacon-processor-reprocess-queue-len")
.value_name("INTEGER") .value_name("INTEGER")
.help("Specifies the length of the queue for messages requiring delayed processing. \ .help("Specifies the length of the queue for messages requiring delayed processing. \
Increasing this value may prevent messages from being dropped at risk of \ Higher values may prevent messages from being dropped while lower values \
overwhelming the host resources. Decreasing this value may cause messages \ may help protect the node from becoming overwhelmed.")
to be dropped but may help resource-constrained hosts.")
.default_value("12288") .default_value("12288")
.takes_value(true) .takes_value(true)
) )
@@ -1169,7 +1167,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.value_name("INTEGER") .value_name("INTEGER")
.help("Specifies the number of gossip attestations in a signature verification batch. \ .help("Specifies the number of gossip attestations in a signature verification batch. \
Higher values may reduce CPU usage in a healthy network whilst lower values may \ Higher values may reduce CPU usage in a healthy network whilst lower values may \
increase CPU usage in an unhealthy network.") increase CPU usage in an unhealthy or hostile network.")
.default_value("64") .default_value("64")
.takes_value(true) .takes_value(true)
) )
@@ -1179,8 +1177,8 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.value_name("INTEGER") .value_name("INTEGER")
.help("Specifies the number of gossip aggregate attestations in a signature \ .help("Specifies the number of gossip aggregate attestations in a signature \
verification batch. \ verification batch. \
Higher values may reduce CPU usage in a healthy network whilst lower values may \ Higher values may reduce CPU usage in a healthy network while lower values may \
increase CPU usage in an unhealthy network.") increase CPU usage in an unhealthy or hostile network.")
.default_value("64") .default_value("64")
.takes_value(true) .takes_value(true)
) )