Skip to content

Commit

Permalink
Update to clap version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dburgener committed Nov 18, 2022
1 parent 3b40fc0 commit 39c8864
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ keywords = [ "selinux" ]

[build-dependencies]
lalrpop = "0.19"
clap = { version = "3", features = ["derive"] }
clap_mangen = "0.1"
clap = { version = "4", features = ["derive"] }
clap_mangen = "0.2"

[dependencies]
atty = "0.2"
backtrace = "0.3"
clap = { version = "3", features = ["derive"] }
clap = { version = "4", features = ["derive"] }
codespan-reporting = "0.11"
lalrpop-util = "0.19"
regex = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/bin/casc/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct Args {
#[clap(default_value = "out.cil", short, value_parser = clap::builder::ValueParser::new(parse_out_filename))]
pub out_filename: String,
/// Build the systems from the SYSTEM_NAMES list. "-s all" to build all defined systems.
#[clap(short, conflicts_with = "out-filename")]
#[clap(short, conflicts_with = "out_filename")]
pub system_names: Vec<String>,
///colorize the output. WHEN can be 'always', 'auto' (default), or 'never'
#[clap(long, value_enum, id = "WHEN")]
Expand Down

0 comments on commit 39c8864

Please sign in to comment.