From fe6648963fbc44b44608b97ad8b9182221148fb3 Mon Sep 17 00:00:00 2001 From: Warm Beer Date: Tue, 16 Jul 2024 14:58:21 +0200 Subject: [PATCH] feat(safenode_rpc_client): added `--version` flag --- sn_node_rpc_client/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sn_node_rpc_client/src/main.rs b/sn_node_rpc_client/src/main.rs index 86cd18347d..7d019bff95 100644 --- a/sn_node_rpc_client/src/main.rs +++ b/sn_node_rpc_client/src/main.rs @@ -22,7 +22,7 @@ use tokio_stream::StreamExt; use tonic::Request; #[derive(Parser, Debug)] -#[clap(name = "safenode RPC client")] +#[clap(version, name = "safenode RPC client")] struct Opt { /// Address of the node's RPC service, e.g. 127.0.0.1:12001. addr: SocketAddr,