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:
commit
d171bc90b1
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user