Skip to content

Commit

Permalink
docs(complete): Don't use deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 29, 2022
1 parent 1e2b791 commit eeafb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clap_complete/examples/completion-derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct Opt {

#[derive(Subcommand, Debug, PartialEq)]
enum Commands {
#[clap(visible_alias = "hint")]
#[command(visible_alias = "hint")]
ValueHint(ValueHintOpt),
}

Expand Down

0 comments on commit eeafb25

Please sign in to comment.