Remove .exe in Windows

This commit is contained in:
Tan Chee Keong
2023-10-18 19:42:11 +08:00
parent da980383ff
commit 387777dd5f
8 changed files with 10 additions and 9 deletions

View File

@@ -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 beacon_node [FLAGS] [OPTIONS]
lighthouse.exe beacon_node [FLAGS] [OPTIONS]
FLAGS:
--always-prefer-builder-payload If set, the beacon node always uses the payload from the builder instead

View File

@@ -6,7 +6,7 @@ Ethereum 2.0 client by Sigma Prime. Provides a full-featured beacon node, a vali
validator accounts.
USAGE:
lighthouse [FLAGS] [OPTIONS] [SUBCOMMAND]
lighthouse.exe [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output.

View File

@@ -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 validator_client [FLAGS] [OPTIONS]
lighthouse.exe validator_client [FLAGS] [OPTIONS]
FLAGS:
--allow-unsynced DEPRECATED: this flag does nothing

View File

@@ -4,7 +4,7 @@
Utilities for managing a Lighthouse validator client via the HTTP API.
USAGE:
lighthouse validator_manager [FLAGS] [OPTIONS] [SUBCOMMAND]
lighthouse.exe validator_manager [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output.

View File

@@ -7,7 +7,7 @@ Another, optional JSON file is created which contains a list of validator deposi
"ethereum/staking-deposit-cli" tool.
USAGE:
lighthouse validator_manager create [FLAGS] [OPTIONS] --output-path <DIRECTORY>
lighthouse.exe validator_manager create [FLAGS] [OPTIONS] --output-path <DIRECTORY>
FLAGS:
--disable-deposits When provided don't generate the deposits JSON file that is commonly used
@@ -34,7 +34,6 @@ FLAGS:
is not provided, a random password will be used. It is not necessary to
keep backups of voting keystore passwords if the mnemonic is safely backed
up.
--stdin-inputs If present, read all user inputs from stdin instead of tty.
-V, --version Prints version information
OPTIONS:

View File

@@ -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 validator_manager import [FLAGS] [OPTIONS] --validators-file <PATH_TO_JSON_FILE>
lighthouse.exe validator_manager import [FLAGS] [OPTIONS] --validators-file <PATH_TO_JSON_FILE>
FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output.

View File

@@ -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 validator_manager move [FLAGS] [OPTIONS] --dest-vc-token <PATH> --dest-vc-url <HTTP_ADDRESS> --src-vc-token <PATH> --src-vc-url <HTTP_ADDRESS>
lighthouse.exe validator_manager move [FLAGS] [OPTIONS] --dest-vc-token <PATH> --dest-vc-url <HTTP_ADDRESS> --src-vc-token <PATH> --src-vc-url <HTTP_ADDRESS>
FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output.
@@ -22,7 +22,6 @@ FLAGS:
information about your validator and so this flag should be used with caution.
For Windows users, the log file permissions will be inherited from the parent
folder.
--stdin-inputs If present, read all user inputs from stdin instead of tty.
-V, --version Prints version information
OPTIONS:

View File

@@ -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"
# remove .exe when using Windows
sed -i -e 's/".exe"//g' "$file"
}
# Check if a lighthouse binary exists in the current branch.