From 6fea81b897ce4a346c90902f1c95190875afc2d9 Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Tue, 12 Mar 2024 07:40:16 +0800 Subject: [PATCH 1/3] Adjust width --- scripts/cli.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/cli.sh b/scripts/cli.sh index 7ba98d08bac..2767ed73c80 100755 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -17,6 +17,9 @@ write_to_file() { # We need to add the header and the backticks to create the code block. 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''' "$file" } CMD=./target/release/lighthouse From d00859a63e526c791e0fec25acdaa2557da2fb95 Mon Sep 17 00:00:00 2001 From: chonghe Date: Tue, 12 Mar 2024 08:25:55 +0800 Subject: [PATCH 2/3] Commit changes --- book/src/help_bn.md | 3 ++- book/src/help_general.md | 3 ++- book/src/help_vc.md | 3 ++- book/src/help_vm.md | 3 ++- book/src/help_vm_create.md | 3 ++- book/src/help_vm_import.md | 3 ++- book/src/help_vm_move.md | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/book/src/help_bn.md b/book/src/help_bn.md index e55c34a9ff9..2b807df93f0 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -509,4 +509,5 @@ OPTIONS: Specify a weak subjectivity checkpoint in `block_root:epoch` format to verify the node's sync against. The block root should be 0x-prefixed. Note that this flag is for verification only, to perform a checkpoint sync from a recent state use --checkpoint-sync-url. -``` \ No newline at end of file +``` + diff --git a/book/src/help_general.md b/book/src/help_general.md index fbe05693e70..551f93e2bf1 100644 --- a/book/src/help_general.md +++ b/book/src/help_general.md @@ -104,4 +104,5 @@ SUBCOMMANDS: blocks and attestations). [aliases: v, vc, validator] validator_manager Utilities for managing a Lighthouse validator client via the HTTP API. [aliases: vm, validator-manager, validator_manager] -``` \ No newline at end of file +``` + diff --git a/book/src/help_vc.md b/book/src/help_vc.md index 3d2519aac57..fb963f87cc5 100644 --- a/book/src/help_vc.md +++ b/book/src/help_vc.md @@ -222,4 +222,5 @@ OPTIONS: --web3-signer-max-idle-connections Maximum number of idle connections to maintain per web3signer host. Default is unlimited. -``` \ No newline at end of file +``` + diff --git a/book/src/help_vm.md b/book/src/help_vm.md index fa08aa4f65f..db01164a92b 100644 --- a/book/src/help_vm.md +++ b/book/src/help_vm.md @@ -94,4 +94,5 @@ SUBCOMMANDS: move Uploads validators to a validator client using the HTTP API. The validators are defined in a JSON file which can be generated using the "create-validators" command. This command only supports validators signing via a keystore on the local file system (i.e., not Web3Signer validators). -``` \ No newline at end of file +``` + diff --git a/book/src/help_vm_create.md b/book/src/help_vm_create.md index 71db3cc599a..2fa54265abd 100644 --- a/book/src/help_vm_create.md +++ b/book/src/help_vm_create.md @@ -134,4 +134,5 @@ OPTIONS: -t, --testnet-dir Path to directory containing eth2_testnet specs. Defaults to a hard-coded Lighthouse testnet. Only effective if there is no existing database. -``` \ No newline at end of file +``` + diff --git a/book/src/help_vm_import.md b/book/src/help_vm_import.md index 3960a55f1a2..e6ff351dac2 100644 --- a/book/src/help_vm_import.md +++ b/book/src/help_vm_import.md @@ -98,4 +98,5 @@ OPTIONS: --vc-url A HTTP(S) address of a validator client using the keymanager-API. If this value is not supplied then a 'dry run' will be conducted where no changes are made to the validator client. [default: http://localhost:5062] -``` \ No newline at end of file +``` + diff --git a/book/src/help_vm_move.md b/book/src/help_vm_move.md index a89af437a97..fe1d4c5ae94 100644 --- a/book/src/help_vm_move.md +++ b/book/src/help_vm_move.md @@ -115,4 +115,5 @@ OPTIONS: if there is no existing database. --validators The validators to be moved. Either a list of 0x-prefixed validator pubkeys or the keyword "all". -``` \ No newline at end of file +``` + From 8f1ba5a43623e14dcd0216b2c2f63fd5adcaed1e Mon Sep 17 00:00:00 2001 From: realbigsean Date: Fri, 22 Mar 2024 13:34:27 -0400 Subject: [PATCH 3/3] Trigger Build