Skip to content

Commit 83bf49d

Browse files
committed
feat(run-bitcoind): add run as alias for start
run-bitcoind: add run alias for ergonomic command usage make spacing around | uniform in match arms
1 parent 4a26bee commit 83bf49d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/run-bitcoind.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ COMMAND
2121
2222
- all Start all bitcoind versions defined in the config file.
2323
- start [VERSION_ALIAS] Start bitcoind nodes for the specified version alias (default: v22).
24+
- run [VERSION_ALIAS] Alias for `start [VERSION_ALIAS]`. Provided for ergonomic compatibility.
2425
- stop Kill all bitcoind nodes and clean up test directories.
2526
2627
CONFIGURATION
@@ -61,7 +62,7 @@ main() {
6162
fi
6263

6364
case $cmd in
64-
all|start)
65+
all|start|run)
6566
# Config loading logic
6667
local config_file=${RUN_BITCOIND_CONF:-}
6768

@@ -110,7 +111,7 @@ main() {
110111
done
111112
;;
112113

113-
start)
114+
start|run)
114115
if [ -z "$version" ]; then
115116
version="v22" # Default version
116117
fi

0 commit comments

Comments
 (0)