@@ -79,7 +79,7 @@ pub struct TestArgs {
79
79
///
80
80
/// If the matching test is a fuzz test, then it will open the debugger on the first failure
81
81
/// case. If the fuzz test does not fail, it will open the debugger on the last fuzz case.
82
- #[ arg( long, value_name = "DEPRECATED_TEST_FUNCTION_REGEX" ) ]
82
+ #[ arg( long, conflicts_with_all = [ "flamegraph" , "flamechart" , "decode_internal" , "rerun" ] , value_name = "DEPRECATED_TEST_FUNCTION_REGEX" ) ]
83
83
debug : Option < Option < Regex > > ,
84
84
85
85
/// Generate a flamegraph for a single test. Implies `--decode-internal`.
@@ -123,7 +123,7 @@ pub struct TestArgs {
123
123
allow_failure : bool ,
124
124
125
125
/// Output test results as JUnit XML report.
126
- #[ arg( long, conflicts_with_all = [ "quiet" , "json" , "gas_report" ] , help_heading = "Display options" ) ]
126
+ #[ arg( long, conflicts_with_all = [ "quiet" , "json" , "gas_report" , "summary" , "list" , "show_progress" ] , help_heading = "Display options" ) ]
127
127
pub junit : bool ,
128
128
129
129
/// Stop running tests after the first failure.
@@ -135,7 +135,7 @@ pub struct TestArgs {
135
135
etherscan_api_key : Option < String > ,
136
136
137
137
/// List tests instead of running them.
138
- #[ arg( long, short, help_heading = "Display options" ) ]
138
+ #[ arg( long, short, conflicts_with_all = [ "show_progress" , "decode_internal" , "summary" ] , help_heading = "Display options" ) ]
139
139
list : bool ,
140
140
141
141
/// Set seed used to generate randomness during your fuzz runs.
@@ -154,7 +154,7 @@ pub struct TestArgs {
154
154
pub fuzz_input_file : Option < String > ,
155
155
156
156
/// Show test execution progress.
157
- #[ arg( long) ]
157
+ #[ arg( long, conflicts_with_all = [ "quiet" , "json" ] , help_heading = "Display options" ) ]
158
158
pub show_progress : bool ,
159
159
160
160
#[ command( flatten) ]
0 commit comments