Add codename to version output

i18n
Michal S 2 years ago committed by Michal
parent 91dde29dba
commit ef18fa9ce5

@ -3,8 +3,10 @@
use crate::operations::SearchBy;
use clap::{Parser, Subcommand, ValueHint};
static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), " (Fish)");
#[derive(Debug, Clone, Parser)]
#[clap(bin_name = "ame", name = "Amethyst", version = env ! ("CARGO_PKG_VERSION"), about = env ! ("CARGO_PKG_DESCRIPTION"), infer_subcommands = true)]
#[clap(bin_name = "ame", name = "Amethyst", version = VERSION, about = env ! ("CARGO_PKG_DESCRIPTION"), infer_subcommands = true)]
pub struct Args {
#[clap(subcommand)]
pub subcommand: Option<Operation>,

Loading…
Cancel
Save