Skip to content

Commit

Permalink
fix: updates to clap 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbsie committed Jan 14, 2022
1 parent 4fbe279 commit bea4b69
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ utils = { path = "../utils" }
core = { path = "../core" }

[dependencies.clap]
version = "3.0.0-beta.2"
features = ["yaml"]
version = "3.0.0"
features = ["cargo"]

[dev-dependencies]
assert_cmd = "1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub fn cli_config() -> Result<clap::ArgMatches> {
.short('c')
.long("config")
.value_name("FILE")
.about("Set a custom config file")
.help("Set a custom config file")
.takes_value(true),
)
.subcommand(App::new("hazard").about("Generate a hazardous occurance"))
Expand Down
6 changes: 1 addition & 5 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ edition = "2018"
utils = { path = "../utils" }

rand = "0.7.3"
log = "0.4.11"

[dependencies.clap]
version = "3.0.0-beta.2"
features = ["yaml"]
log = "0.4.11"
5 changes: 1 addition & 4 deletions utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ slog-async = "2.5.0"
slog-stdlog = "4.1.0"
log = "0.4.11"
serde = { version = "1.0", features = ["derive"]}

[dependencies.clap]
version = "3.0.0-beta.2"
features = ["yaml"]
clap = "3.0.0"

0 comments on commit bea4b69

Please sign in to comment.