Skip to content

Commit

Permalink
Switch from Argh to Clap
Browse files Browse the repository at this point in the history
Fixes #61
  • Loading branch information
sourcefrog committed Aug 27, 2022
1 parent ad01a1d commit c09b0e3
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 75 deletions.
156 changes: 115 additions & 41 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.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ rust-version = "1.59"

[dependencies]
anyhow = "1.0"
argh = "0.1"
camino = "1.0"
cargo_metadata = "0.15"
console = "0.15"
Expand All @@ -37,6 +36,7 @@ tracing-appender = "0.2"
tracing-subscriber = "0.3"
walkdir = "2.3"
whoami = "1.2"
clap = { version = "3.2.17", features = ["derive"] }

[dependencies.cp_r]
version = "0.5.1"
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# cargo-mutants changelog

## Unreleased

- Internal: Switched from Argh to Clap for command-line parsing. There may be some small changes in CLI behavior and help formatting.

## 1.0.0

Released 2022-08-21
Expand Down
2 changes: 1 addition & 1 deletion src/exit_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub const SUCCESS: i32 = 0;

/// The wrong arguments, etc.
///
/// (1 is also the value returned by argh.)
/// (1 is also the value returned by Clap.)
pub const USAGE: i32 = 1;

/// Found one or mutants that were not caught by tests.
Expand Down
Loading

0 comments on commit c09b0e3

Please sign in to comment.