generated from PlexSheep/rs-base
Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Christoph J. Scherr | 827efcee24 |
|
@ -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"]),
|
||||
|
|
Reference in New Issue