From c3d84db69268816fd3d93489510b0ea5594b21e2 Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Wed, 18 Oct 2023 19:45:12 +0800 Subject: [PATCH] Fix period with \. --- book/src/help_bn.md | 2 +- book/src/help_general.md | 2 +- book/src/help_vc.md | 2 +- book/src/help_vm.md | 2 +- book/src/help_vm_create.md | 2 +- book/src/help_vm_import.md | 2 +- book/src/help_vm_move.md | 2 +- scripts/cli.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/book/src/help_bn.md b/book/src/help_bn.md index a6a4b7f4be..633e82649a 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -6,7 +6,7 @@ The primary component which connects to the Ethereum 2.0 P2P network and downloa a HTTP API for querying the beacon chain and publishing messages to the network. USAGE: - lighthouse.exe beacon_node [FLAGS] [OPTIONS] + lighthouse beacon_node [FLAGS] [OPTIONS] FLAGS: --always-prefer-builder-payload If set, the beacon node always uses the payload from the builder instead diff --git a/book/src/help_general.md b/book/src/help_general.md index 4906ea82f2..b337c30d72 100644 --- a/book/src/help_general.md +++ b/book/src/help_general.md @@ -6,7 +6,7 @@ Ethereum 2.0 client by Sigma Prime. Provides a full-featured beacon node, a vali validator accounts. USAGE: - lighthouse.exe [FLAGS] [OPTIONS] [SUBCOMMAND] + lighthouse [FLAGS] [OPTIONS] [SUBCOMMAND] FLAGS: --disable-log-timestamp If present, do not include timestamps in logging output. diff --git a/book/src/help_vc.md b/book/src/help_vc.md index f9dfd74e0a..b6434e8758 100644 --- a/book/src/help_vc.md +++ b/book/src/help_vc.md @@ -4,7 +4,7 @@ When connected to a beacon node, performs the duties of a staked validator (e.g., proposing blocks and attestations). USAGE: - lighthouse.exe validator_client [FLAGS] [OPTIONS] + lighthouse validator_client [FLAGS] [OPTIONS] FLAGS: --allow-unsynced DEPRECATED: this flag does nothing diff --git a/book/src/help_vm.md b/book/src/help_vm.md index 905df1857c..be62e3549c 100644 --- a/book/src/help_vm.md +++ b/book/src/help_vm.md @@ -4,7 +4,7 @@ Utilities for managing a Lighthouse validator client via the HTTP API. USAGE: - lighthouse.exe validator_manager [FLAGS] [OPTIONS] [SUBCOMMAND] + lighthouse validator_manager [FLAGS] [OPTIONS] [SUBCOMMAND] FLAGS: --disable-log-timestamp If present, do not include timestamps in logging output. diff --git a/book/src/help_vm_create.md b/book/src/help_vm_create.md index 1fb2756f7e..0d33371150 100644 --- a/book/src/help_vm_create.md +++ b/book/src/help_vm_create.md @@ -7,7 +7,7 @@ Another, optional JSON file is created which contains a list of validator deposi "ethereum/staking-deposit-cli" tool. USAGE: - lighthouse.exe validator_manager create [FLAGS] [OPTIONS] --output-path + lighthouse validator_manager create [FLAGS] [OPTIONS] --output-path FLAGS: --disable-deposits When provided don't generate the deposits JSON file that is commonly used diff --git a/book/src/help_vm_import.md b/book/src/help_vm_import.md index 9acd9969df..ca619b51a3 100644 --- a/book/src/help_vm_import.md +++ b/book/src/help_vm_import.md @@ -5,7 +5,7 @@ Uploads validators to a validator client using the HTTP API. The validators are generated using the "create-validators" command. USAGE: - lighthouse.exe validator_manager import [FLAGS] [OPTIONS] --validators-file + lighthouse validator_manager import [FLAGS] [OPTIONS] --validators-file FLAGS: --disable-log-timestamp If present, do not include timestamps in logging output. diff --git a/book/src/help_vm_move.md b/book/src/help_vm_move.md index 1120ac4fb5..2670353cd7 100644 --- a/book/src/help_vm_move.md +++ b/book/src/help_vm_move.md @@ -6,7 +6,7 @@ generated using the "create-validators" command. This command only supports vali local file system (i.e., not Web3Signer validators). USAGE: - lighthouse.exe validator_manager move [FLAGS] [OPTIONS] --dest-vc-token --dest-vc-url --src-vc-token --src-vc-url + lighthouse validator_manager move [FLAGS] [OPTIONS] --dest-vc-token --dest-vc-url --src-vc-token --src-vc-url FLAGS: --disable-log-timestamp If present, do not include timestamps in logging output. diff --git a/scripts/cli.sh b/scripts/cli.sh index e2bd12ba8e..b58746de09 100755 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -19,7 +19,7 @@ write_to_file() { printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file" # remove .exe when using Windows - sed -i -e 's/".exe"//g' "$file" + sed -i -e 's/\.exe//g' "$file" } # Check if a lighthouse binary exists in the current branch.