stacks-network/stacks-core

Add `--version` arg to all buildable binaries

Open

#5385 aperta il 25 ott 2024

Vedi su GitHub
 (12 commenti) (0 reazioni) (2 assegnatari)Rust (758 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (3063 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

currently, only stacks-node and stacks-signer respond to the --version arg:

$ target/release/stacks-node --version
INFO [1729868721.863293] [testnet/stacks-node/src/main.rs:285] [main] stacks-node 0.1.0 (:, release build, linux [x86_64])
target/release/stacks-node <SUBCOMMAND>
Run a stacks-node.

USAGE:
stacks-node <SUBCOMMAND>
...

All binaries should respond similarly to that arg.

Guida contributor