mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
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:
@@ -133,7 +133,9 @@ Flags:
|
|||||||
When provided don't generate the deposits JSON file that is commonly
|
When provided don't generate the deposits JSON file that is commonly
|
||||||
used for submitting validator deposits via a web UI. Using this flag
|
used for submitting validator deposits via a web UI. Using this flag
|
||||||
will save several seconds per validator if the user has an alternate
|
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
|
--disable-log-timestamp
|
||||||
If present, do not include timestamps in logging output.
|
If present, do not include timestamps in logging output.
|
||||||
--disable-malloc-tuning
|
--disable-malloc-tuning
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ write_to_file() {
|
|||||||
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$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
|
# 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
|
CMD=./target/release/lighthouse
|
||||||
|
|||||||
@@ -112,7 +112,9 @@ pub fn cli_app() -> Command {
|
|||||||
"When provided don't generate the deposits JSON file that is \
|
"When provided don't generate the deposits JSON file that is \
|
||||||
commonly used for submitting validator deposits via a web UI. \
|
commonly used for submitting validator deposits via a web UI. \
|
||||||
Using this flag will save several seconds per validator if the \
|
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)
|
.action(ArgAction::SetTrue)
|
||||||
.help_heading(FLAG_HEADER)
|
.help_heading(FLAG_HEADER)
|
||||||
|
|||||||
Reference in New Issue
Block a user