Added required --force-bls-withdrawal-credentials description to --disable-deposits usage (#6436)

* cli description

* complied docs changes

* reverted changes and script amended

* fix

* reverting unwanted changes

* making linter happy

* requested changes

* Merge branch 'unstable' into cli-fix

* Merge branch 'unstable' into cli-fix
This commit is contained in:
hopinheimer
2024-10-10 07:32:41 -04:00
committed by GitHub
parent 244a460e70
commit da290e8e2e
3 changed files with 7 additions and 3 deletions

View File

@@ -133,7 +133,9 @@ Flags:
When provided don't generate the deposits JSON file that is commonly
used for submitting validator deposits via a web UI. Using this flag
will save several seconds per validator if the user has an alternate
strategy for submitting deposits.
strategy for submitting deposits. If used, the
--force-bls-withdrawal-credentials is also required to ensure users
are aware that an --eth1-withdrawal-address is not set.
--disable-log-timestamp
If present, do not include timestamps in logging output.
--disable-malloc-tuning

View File

@@ -16,7 +16,7 @@ write_to_file() {
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file"
# Adjust the width of the help text and append to the end of file
sed -i -e '$a\'$'\n''\n''<style> .content main {max-width:88%;} </style>' "$file"
printf "\n\n%s\n" "<style> .content main {max-width:88%;} </style>" >> "$file"
}
CMD=./target/release/lighthouse

View File

@@ -112,7 +112,9 @@ pub fn cli_app() -> Command {
"When provided don't generate the deposits JSON file that is \
commonly used for submitting validator deposits via a web UI. \
Using this flag will save several seconds per validator if the \
user has an alternate strategy for submitting deposits.",
user has an alternate strategy for submitting deposits. \
If used, the --force-bls-withdrawal-credentials is also required \
to ensure users are aware that an --eth1-withdrawal-address is not set.",
)
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)