Skip to content

Commit

Permalink
[feature] hyperledger-iroha#4041: Add git commit SHA to client_cli (h…
Browse files Browse the repository at this point in the history
…yperledger-iroha#4042)

Signed-off-by: Marin Veršić <[email protected]>
  • Loading branch information
mversic authored Nov 9, 2023
1 parent 8860376 commit 97ed585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl FromStr for Configuration {

/// Iroha CLI Client provides an ability to interact with Iroha Peers Web API without direct network usage.
#[derive(StructOpt, Debug)]
#[structopt(name = "iroha_client_cli", version = concat!(env!("CARGO_PKG_VERSION")), author)]
#[structopt(name = "iroha_client_cli", version = concat!("version=", env!("CARGO_PKG_VERSION"), " git_commit_sha=", env!("VERGEN_GIT_SHA")), author)]
struct Args {
/// Sets a config file path
#[structopt(short, long)]
Expand Down

0 comments on commit 97ed585

Please sign in to comment.