summaryrefslogtreecommitdiffstats
path: root/sqv/src
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-06-01 22:25:31 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-06-01 22:26:28 +0200
commit5c109747e5d279cb3629503a4a18f6666c4daf29 (patch)
tree8976174dccbb53cb03f7299995947e6cff2fafd6 /sqv/src
parenteac76770eadb1a1cd481d9301d294934e1af82ad (diff)
tool, sqv: Use CARGO_PKG_VERSION.
Diffstat (limited to 'sqv/src')
-rw-r--r--sqv/src/sqv_cli.rs2
1 files changed, 1 insertions, 1 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")