Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Pull codename from envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal S committed Sep 16, 2022
1 parent ef18fa9 commit e9efff9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit e9efff9

Please sign in to comment.