Skip to content

Commit

Permalink
Make only one way to get the version of the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Nov 25, 2023
1 parent 7f8ad60 commit ecd07ff
Showing 1 changed file with 1 addition and 2 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,11 +45,10 @@ 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,
long_about = ABOUT.to_string() + LONG_ABOUT,
disable_help_subcommand = true,
disable_version_flag = true,
)]
pub struct Root {
#[clap(flatten)]
Expand Down

0 comments on commit ecd07ff

Please sign in to comment.