Skip to content

Commit

Permalink
only long
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Nov 25, 2023
1 parent ecd07ff commit 7fc51de
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/soroban-cli/src/commands/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,11 @@ impl Cmd {
}
}

pub fn short() -> String {
format!("{} ({GIT_REVISION})", env!("CARGO_PKG_VERSION"))
}

pub fn long() -> String {
let env = soroban_env_host::VERSION;
let xdr = soroban_env_host::VERSION.xdr;
[
short(),
format!("{} ({GIT_REVISION})", env!("CARGO_PKG_VERSION")),
format!("soroban-env {} ({})", env.pkg, env.rev),
format!("soroban-env interface version {}", meta::INTERFACE_VERSION),
format!(
Expand Down

0 comments on commit 7fc51de

Please sign in to comment.