args: add description as translatable string

i18n
Fries 2 years ago committed by fries1234
parent ca46b81399
commit 3c2f0ed89c

@ -179,3 +179,4 @@ query-info = Get information about a specific package
upgrade-repo = Upgrades only repo/native packages
upgrade-aur = Upgrades only from the AUR
gencomp-shell = The shell to generate completions for (bash, fish, elvish, pwsh, fig)
description = A fast and efficient AUR helper

@ -11,7 +11,7 @@ static VERSION: &str = concat!(
);
#[derive(Debug, Clone, Parser)]
#[clap(bin_name = "ame", name = "Amethyst", version = VERSION, about = env ! ("CARGO_PKG_DESCRIPTION"), infer_subcommands = true)]
#[command(bin_name = "ame", name = "Amethyst", version = VERSION, about = fl!("description"), infer_subcommands = true)]
pub struct Args {
#[command(subcommand)]
pub subcommand: Option<Operation>,

Loading…
Cancel
Save