Skip to content

Commit

Permalink
Update clap usage to avoid deprecations (#444)
Browse files Browse the repository at this point in the history
* Update clap usage to avoid deprecations

Signed-off-by: Ana Hobden <[email protected]>

* Bump clap

Signed-off-by: Ana Hobden <[email protected]>
  • Loading branch information
Hoverbear authored Feb 16, 2022
1 parent 30b7a87 commit b527960
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo-pgx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ trait CommandExecute {
name = "cargo",
bin_name = "cargo",
version,
global_setting(clap::AppSettings::PropagateVersion)
propagate_version = true,
)]
struct CargoCommand {
#[clap(subcommand)]
Expand Down

0 comments on commit b527960

Please sign in to comment.