Remove .exe in Windows

This commit is contained in:
Tan Chee Keong
2023-10-18 19:42:11 +08:00
parent 09ab4042c2
commit fb1814dc97
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. a HTTP API for querying the beacon chain and publishing messages to the network.
USAGE: USAGE:
lighthouse beacon_node [FLAGS] [OPTIONS] lighthouse.exe beacon_node [FLAGS] [OPTIONS]
FLAGS: FLAGS:
--always-prefer-builder-payload If set, the beacon node always uses the payload from the builder instead --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. validator accounts.
USAGE: USAGE:
lighthouse [FLAGS] [OPTIONS] [SUBCOMMAND] lighthouse.exe [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS: FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output. --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). When connected to a beacon node, performs the duties of a staked validator (e.g., proposing blocks and attestations).
USAGE: USAGE:
lighthouse validator_client [FLAGS] [OPTIONS] lighthouse.exe validator_client [FLAGS] [OPTIONS]
FLAGS: FLAGS:
--allow-unsynced DEPRECATED: this flag does nothing --allow-unsynced DEPRECATED: this flag does nothing

View File

@@ -4,7 +4,7 @@
Utilities for managing a Lighthouse validator client via the HTTP API. Utilities for managing a Lighthouse validator client via the HTTP API.
USAGE: USAGE:
lighthouse validator_manager [FLAGS] [OPTIONS] [SUBCOMMAND] lighthouse.exe validator_manager [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS: FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output. --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. "ethereum/staking-deposit-cli" tool.
USAGE: USAGE:
lighthouse validator_manager create [FLAGS] [OPTIONS] --output-path <DIRECTORY> lighthouse.exe validator_manager create [FLAGS] [OPTIONS] --output-path <DIRECTORY>
FLAGS: FLAGS:
--disable-deposits When provided don't generate the deposits JSON file that is commonly used --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 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 keep backups of voting keystore passwords if the mnemonic is safely backed
up. up.
--stdin-inputs If present, read all user inputs from stdin instead of tty.
-V, --version Prints version information -V, --version Prints version information
OPTIONS: 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. generated using the "create-validators" command.
USAGE: 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: FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output. --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). local file system (i.e., not Web3Signer validators).
USAGE: 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: FLAGS:
--disable-log-timestamp If present, do not include timestamps in logging output. --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. 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 For Windows users, the log file permissions will be inherited from the parent
folder. folder.
--stdin-inputs If present, read all user inputs from stdin instead of tty.
-V, --version Prints version information -V, --version Prints version information
OPTIONS: OPTIONS:

View File

@@ -17,6 +17,9 @@ write_to_file() {
# We need to add the header and the backticks to create the code block. # We need to add the header and the backticks to create the code block.
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file" 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. # Check if a lighthouse binary exists in the current branch.