diff --git a/Cargo.lock b/Cargo.lock index 5743e8d..b031b59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -343,7 +343,7 @@ dependencies = [ [[package]] name = "netkraken" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index b8c4cdb..dc54080 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "netkraken" -version = "0.1.2" +version = "0.1.3" edition = "2021" [[bin]] diff --git a/src/cmd/cli.rs b/src/cmd/cli.rs index 4bb9c21..84a798f 100644 --- a/src/cmd/cli.rs +++ b/src/cmd/cli.rs @@ -12,7 +12,7 @@ use crate::util::message::cli_header_msg; #[derive(Debug, Parser)] #[command(name = "nk")] #[command(bin_name = "nk")] -#[command(version = "0.1.0")] +#[command(version = env!("CARGO_PKG_VERSION"))] #[command(about = "NetKraken - Cross platform network connectivity tester", long_about = None)] pub struct Cli { /// Destination hostname or IP address ||