From 6c31b3f01c8f5685daa2f5bb9a9ba0365338ab76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Mon, 29 Jun 2020 15:09:54 +0200 Subject: [PATCH] shared_testnet/entry_point.sh: "--network" option --- docker/shared_testnet/entry_point.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/shared_testnet/entry_point.sh b/docker/shared_testnet/entry_point.sh index e11bf9dc6..594aafe68 100755 --- a/docker/shared_testnet/entry_point.sh +++ b/docker/shared_testnet/entry_point.sh @@ -14,9 +14,10 @@ if [ ${PIPESTATUS[0]} != 4 ]; then fi OPTS="h" -LONGOPTS="help,build,run" +LONGOPTS="help,network:,build,run" # default values +NETWORK="altona" BUILD=0 RUN=0 @@ -25,6 +26,7 @@ print_help() { Usage: $(basename $0) -- -h, --help this help message + --network default: ${NETWORK} --build build the beacon_node --run run the beacon_node EOF @@ -44,6 +46,10 @@ while true; do print_help exit ;; + --network) + NETWORK="$2" + shift 2 + ;; --build) BUILD=1 shift