summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sqv/src/sqv_cli.rs2
-rw-r--r--tool/src/sq_cli.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/sqv/src/sqv_cli.rs b/sqv/src/sqv_cli.rs
index aae472e2..f0826948 100644
--- a/sqv/src/sqv_cli.rs
+++ b/sqv/src/sqv_cli.rs
@@ -9,7 +9,7 @@ use clap::{App, Arg, AppSettings};
// The argument parser.
pub fn build() -> App<'static, 'static> {
App::new("sqv")
- .version("0.1.0")
+ .version(env!("CARGO_PKG_VERSION"))
.about("sqv is a command-line OpenPGP signature verification tool.")
.setting(AppSettings::ArgRequiredElseHelp)
.arg(Arg::with_name("keyring").value_name("FILE")
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs
index 535d5b22..b71a5be3 100644
--- a/tool/src/sq_cli.rs
+++ b/tool/src/sq_cli.rs
@@ -8,7 +8,7 @@ use clap::{App, Arg, ArgGroup, SubCommand, AppSettings};
pub fn build() -> App<'static, 'static> {
App::new("sq")
- .version("0.1.0")
+ .version(env!("CARGO_PKG_VERSION"))
.about("Sequoia is an implementation of OpenPGP. This is a command-line frontend.")
.setting(AppSettings::SubcommandRequiredElseHelp)
.arg(Arg::with_name("home").value_name("DIRECTORY")