generated from PlexSheep/rs-base
refactor: use libpt help template
cargo devel CI / cargo CI (push) Has been cancelled
Details
cargo devel CI / cargo CI (push) Has been cancelled
Details
This commit is contained in:
parent
335a5b2013
commit
fbb75513b3
|
@ -99,14 +99,7 @@ impl Display for Format {
|
||||||
version,
|
version,
|
||||||
about,
|
about,
|
||||||
long_about,
|
long_about,
|
||||||
help_template = r#"{about-section}
|
help_template = libpt::cli::args::HELP_TEMPLATE)]
|
||||||
{usage-heading} {usage}
|
|
||||||
{all-args}{tab}
|
|
||||||
|
|
||||||
{name}: {version}
|
|
||||||
Author: {author-with-newline}
|
|
||||||
"#
|
|
||||||
)]
|
|
||||||
#[clap(group(
|
#[clap(group(
|
||||||
ArgGroup::new("format")
|
ArgGroup::new("format")
|
||||||
.args(&["hex", "bin", "oct", "dec", "base64", "base32", "raw"]),
|
.args(&["hex", "bin", "oct", "dec", "base64", "base32", "raw"]),
|
||||||
|
|
Reference in New Issue