From e9efff91c0867f6f84feb43e45343e6b84e0acb3 Mon Sep 17 00:00:00 2001 From: Michal S Date: Fri, 16 Sep 2022 17:01:25 +0100 Subject: [PATCH] Pull codename from envvar --- src/args.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/args.rs b/src/args.rs index fcd0ce8..27472bd 100644 --- a/src/args.rs +++ b/src/args.rs @@ -3,7 +3,12 @@ use crate::operations::SearchBy; use clap::{Parser, Subcommand, ValueHint}; -static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), " (Fish)"); +static VERSION: &str = concat!( + env!("CARGO_PKG_VERSION"), + " (", + env!("AMETHYST_CODENAME"), + ")" +); #[derive(Debug, Clone, Parser)] #[clap(bin_name = "ame", name = "Amethyst", version = VERSION, about = env ! ("CARGO_PKG_DESCRIPTION"), infer_subcommands = true)]