mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-25 12:45:37 +00:00
Implement help message for the run-*-beacon-node scripts
This commit is contained in:
parent
bd1047b715
commit
1774da15f1
@ -10,6 +10,20 @@ shift
|
||||
NETWORK=$1
|
||||
shift
|
||||
|
||||
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
|
||||
cat <<HELP
|
||||
|
||||
All supplied options will be forwarded to the beacon node executable.
|
||||
Please execute build/$NBC_BINARY --help to get more information.
|
||||
|
||||
To suppress the interactive input required by this script, you can
|
||||
specify WEB3_URL as an environment variable.
|
||||
|
||||
HELP
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
# Windows detection
|
||||
if uname | grep -qiE "mingw|msys"; then
|
||||
MAKE="mingw32-make"
|
||||
|
Loading…
x
Reference in New Issue
Block a user