Skip to content

Commit

Permalink
Use rust crate version for clap. Increment to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mydayyy committed Dec 9, 2021
1 parent bbcc5cf commit a9cc267
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pbcli"
version = "2.0.0"
version = "2.1.0"
authors = ["Mydayyy"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pastes from privatebin directly from the command line.
Project home page: https://github.com/Mydayyy/pbcli";

#[derive(Debug, Parser)]
#[clap(setting = clap::AppSettings::AllArgsOverrideSelf, version = "2.0", author = "Mydayyy <[email protected]>", about = ABOUT)]
#[clap(setting = clap::AppSettings::AllArgsOverrideSelf, version = env!("CARGO_PKG_VERSION"), author = "Mydayyy <[email protected]>", about = ABOUT)]
struct Opts {
#[clap(required_unless_present("host"), parse(try_from_str))]
url: Option<Url>,
Expand Down

0 comments on commit a9cc267

Please sign in to comment.