refactor: use libpt help template
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-09-06 18:02:12 +02:00
parent 335a5b2013
commit fbb75513b3
1 changed files with 1 additions and 8 deletions

View File

@ -99,14 +99,7 @@ impl Display for Format {
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"]),