Skip to content

Commit f060d66

Browse files
author
Carolyn Zech
committed
make included_functions and excluded_functions conflict in compiler args
1 parent 8685925 commit f060d66

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

kani-compiler/src/args.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,14 @@ pub struct Arguments {
9191
/// Print the final LLBC file to stdout.
9292
#[clap(long)]
9393
pub print_llbc: bool,
94-
/// If we are running the autoharness subcommand, the functions to autoharness
95-
#[arg(long = "autoharness-include-function", num_args(1))]
94+
/// If we are running the autoharness subcommand, the functions to include
95+
#[arg(
96+
long = "autoharness-include-function",
97+
num_args(1),
98+
conflicts_with = "autoharness_excluded_functions"
99+
)]
96100
pub autoharness_included_functions: Vec<String>,
97-
/// If we are running the autoharness subcommand, the functions to exclude from autoverification
101+
/// If we are running the autoharness subcommand, the functions to exclude
98102
#[arg(long = "autoharness-exclude-function", num_args(1))]
99103
pub autoharness_excluded_functions: Vec<String>,
100104
}

0 commit comments

Comments
 (0)