Skip to content

Commit

Permalink
feat(cli): add some "completion" help
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Dec 18, 2022
1 parent 854cd32 commit 25a8b9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ pub fn clap() -> clap::Command {
)
.subcommand(
Command::new("completion")
.about("Generate laze shell completions.")
.arg(
Arg::new("generator")
.help("shell to generate completions for")
.long("generate")
.value_parser(value_parser!(clap_complete::Shell)),
)
Expand Down

0 comments on commit 25a8b9a

Please sign in to comment.