Skip to content

Commit

Permalink
Merge branch 'main' into ledger-types-uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio authored Nov 28, 2023
2 parents 495b112 + db3030a commit 5c65088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions cmd/soroban-cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ Full CLI reference: https://github.com/stellar/soroban-tools/tree/main/docs/soro
#[derive(Parser, Debug)]
#[command(
name = "soroban",
version = version::short(),
long_version = version::long(),
about = ABOUT,
version = version::long(),
long_about = ABOUT.to_string() + LONG_ABOUT,
disable_help_subcommand = true,
)]
Expand Down
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 5c65088

Please sign in to comment.