Skip to content

Commit

Permalink
help template
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Rigo committed Aug 15, 2023
1 parent 5134b62 commit 65b0230
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ fn main() -> Result<()> {
.propagate_version(true)
.subcommand(
Command::new("rsbkb")
.help_template(
"\
{before-help}{name} {version} ({about}) - by {author-with-newline}
{usage-heading} {usage}
{all-args}{after-help}
",
)
.author("Raphaël Rigo <[email protected]>")
.about("Rust BlackBag")
.arg_required_else_help(true)
Expand Down

0 comments on commit 65b0230

Please sign in to comment.