Merge branch 'get-version2' into 'main'

Get the server version number from Cargo.toml

See merge request veilid/veilid!128
This commit is contained in:
Christien Rioux 2023-08-18 22:17:03 +00:00
commit d171bc90b1

View File

@ -8,7 +8,7 @@ use veilid_core::{TypedKeyGroup, TypedSecretGroup};
fn do_clap_matches(default_config_path: &OsStr) -> Result<clap::ArgMatches, clap::Error> { fn do_clap_matches(default_config_path: &OsStr) -> Result<clap::ArgMatches, clap::Error> {
let matches = Command::new("veilid-server") let matches = Command::new("veilid-server")
.version("0.1") .version(cargo_version!())
.about("Veilid Server") .about("Veilid Server")
.color(clap::ColorChoice::Auto) .color(clap::ColorChoice::Auto)
.arg( .arg(