Compare commits

...

1 Commits

Author SHA1 Message Date
Christoph J. Scherr 827efcee24 refactor: use libpt help template
cargo devel CI / cargo CI (push) Successful in 2m16s Details
2024-09-06 18:02:59 +02:00
1 changed files with 1 additions and 9 deletions

View File

@ -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"]),