Move version! from core:: to clap_utils:: (#6944)

* Move version! from core to clap-utils

* Completely move version! from core:: to clap_utils::

* rustfmt

* Do remaining transition after rebase
This commit is contained in:
Ryo Onodera
2019-11-14 13:10:38 +09:00
committed by GitHub
parent cc96848b01
commit 4fc767b3f6
36 changed files with 146 additions and 126 deletions

View File

@@ -297,7 +297,7 @@ pub fn main() {
&format!("{}-{}", VALIDATOR_PORT_RANGE.0, VALIDATOR_PORT_RANGE.1);
let matches = App::new(crate_name!()).about(crate_description!())
.version(solana_core::version!())
.version(solana_clap_utils::version!())
.arg(
Arg::with_name("blockstream_unix_socket")
.long("blockstream")
@@ -591,7 +591,7 @@ pub fn main() {
println!(
"{} {}",
style(crate_name!()).bold(),
solana_core::version!()
solana_clap_utils::version!()
);
let _log_redirect = {