Rename --rpc arg to --rpc-port to match wallet cli

This commit is contained in:
Michael Vines
2019-01-17 08:09:52 -08:00
committed by Grimes
parent 825d8ef6c9
commit 9c8e853567
3 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ $program \
$maybe_no_leader_rotation \
--identity "$SOLANA_CONFIG_DIR"/bootstrap-leader.json \
--ledger "$SOLANA_CONFIG_DIR"/bootstrap-leader-ledger \
--rpc 8899 \
--rpc-port 8899 \
> >($bootstrap_leader_logger) 2>&1 &
pid=$!
oom_score_adj "$pid" 1000

View File

@ -50,7 +50,7 @@ fi
maybe_rpc_port=
if [[ $1 = --rpc-port ]]; then
maybe_rpc_port="--rpc $2"
maybe_rpc_port="$1 $2"
shift 2
fi