aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 96513f6..8321019 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -25,11 +25,10 @@ use crate::export::Exporter;
fn main() {
let matches = clap::Command::new(env!("CARGO_PKG_NAME"))
.version(&*format!(
- "{}(1)-{}-({})-{}",
+ "{}(1)-{}-({})",
env!("CARGO_PKG_VERSION"),
- env!("VERGEN_CARGO_PROFILE"),
- env!("VERGEN_CARGO_TARGET_TRIPLE"),
- env!("VERGEN_GIT_SHA").get(0..7).unwrap(),
+ env!("PROFILE"),
+ env!("TARGET"),
))
.author(env!("CARGO_PKG_AUTHORS"))
.subcommand_required(true)