From 7e39d08de6187dc2ec04b75ea5015dac2509bca3 Mon Sep 17 00:00:00 2001 From: a1ecbr0wn Date: Fri, 18 Aug 2023 09:28:58 +0100 Subject: [PATCH] Get the server version number from Cargo.toml --- veilid-server/src/cmdline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veilid-server/src/cmdline.rs b/veilid-server/src/cmdline.rs index 31b49b8c..0cf62f94 100644 --- a/veilid-server/src/cmdline.rs +++ b/veilid-server/src/cmdline.rs @@ -8,7 +8,7 @@ use veilid_core::{TypedKeyGroup, TypedSecretGroup}; fn do_clap_matches(default_config_path: &OsStr) -> Result { let matches = Command::new("veilid-server") - .version("0.1") + .version(cargo_version!()) .about("Veilid Server") .color(clap::ColorChoice::Auto) .arg(