From 97ed585acc055bea9f26cfa517d7552bf8a0f5ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Ver=C5=A1i=C4=87?= Date: Thu, 9 Nov 2023 12:04:42 +0300 Subject: [PATCH] [feature] #4041: Add git commit SHA to client_cli (#4042) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marin Veršić --- client_cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_cli/src/main.rs b/client_cli/src/main.rs index 20abd7859ec..c7b497a6b3c 100644 --- a/client_cli/src/main.rs +++ b/client_cli/src/main.rs @@ -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)]