Skip to content

Commit

Permalink
Fix clippy lint caused by clap derive macro (#505)
Browse files Browse the repository at this point in the history
A deprecated function was being called in the clap macro due to changes in their API. The issue is described here clap-rs/clap#3822.
  • Loading branch information
svix-daniel authored Jun 13, 2022
1 parent b05666c commit 25b0790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/svix-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct Args {
#[clap(subcommand)]
command: Option<Commands>,
/// Run database migrations before starting
#[clap(long)]
#[clap(long, value_parser)]
run_migrations: bool,
}

Expand Down

0 comments on commit 25b0790

Please sign in to comment.