ops: Add version prints to start script

This commit is contained in:
wiz 2024-12-13 11:01:11 +09:00
parent a27b0c2c49
commit 249848dc52
No known key found for this signature in database
GPG Key ID: A394E332255A6173

6
start
View File

@ -122,6 +122,12 @@ case "${2}" in
generate_popular_scripts
exit 0
;;
version)
echo "[*] Only print versions, then exit"
cargo run --bin electrs --release -- --version
cargo run --bin popular-scripts --release -- --version
exit 0
;;
"")
# If the 2nd arg isn't passed, just run the normal electrs script as-is
;;