From 827efcee24c9e5120352035aabb1f9be22dcf89e Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 6 Sep 2024 18:02:12 +0200 Subject: [PATCH] refactor: use libpt help template --- src/format.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/format.rs b/src/format.rs index febf231..4e5b890 100644 --- a/src/format.rs +++ b/src/format.rs @@ -93,20 +93,12 @@ impl Display for Format { /// /// ``` #[derive(Parser, Debug, Clone, PartialEq, Eq, Hash)] -#[clap(author, version, about, long_about = None)] #[command( author, version, about, long_about, - help_template = r#"{about-section} -{usage-heading} {usage} -{all-args}{tab} - -{name}: {version} -Author: {author-with-newline} -"# -)] + help_template = libpt::cli::args::HELP_TEMPLATE)] #[clap(group( ArgGroup::new("format") .args(&["hex", "bin", "oct", "dec", "base64", "base32", "raw"]),