Show commit in --version
and ledger-tool's log (#12636)
* Show commit in `--version` and ledger-tool's log * Another handy hidden env var * Fix test * Rename to semver! * Fix syntax error...
This commit is contained in:
@ -1246,6 +1246,8 @@ fn main() {
|
||||
)
|
||||
.get_matches();
|
||||
|
||||
info!("{} {}", crate_name!(), solana_version::version!());
|
||||
|
||||
let ledger_path = PathBuf::from(value_t!(matches, "ledger_path", String).unwrap_or_else(
|
||||
|_err| {
|
||||
eprintln!(
|
||||
|
Reference in New Issue
Block a user