Skip to content

Commit

Permalink
Fix casr-core options parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
anfedotoff committed Jan 15, 2024
1 parent cf56d75 commit 3b4571f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions casr/src/bin/casr-core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fn main() -> Result<()> {
.value_parser(clap::value_parser!(PathBuf))
.help("Path to input core file")
.required_if_eq("mode","offline")
.required_unless_present("mode")
.action(ArgAction::Set))
.arg(Arg::new("output")
.short('o')
Expand Down

0 comments on commit 3b4571f

Please sign in to comment.