Get the server version number from Cargo.toml
This commit is contained in:
parent
b17875deb0
commit
7e39d08de6
@ -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