File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,11 @@ struct Args {
73
73
) ]
74
74
check : bool ,
75
75
76
- #[ structopt( long = "json" , help = "Show output as JSON lines." ) ]
76
+ #[ structopt(
77
+ long = "json" ,
78
+ help = "Show output as JSON lines." ,
79
+ conflicts_with_all = & [ "lsp" , "dap" ] ,
80
+ ) ]
77
81
json : bool ,
78
82
79
83
#[ structopt(
@@ -89,11 +93,16 @@ struct Args {
89
93
long = "expression" ,
90
94
short = "e" ,
91
95
name = "EXPRESSION" ,
92
- help = "Expressions to evaluate."
96
+ help = "Expressions to evaluate." ,
97
+ conflicts_with_all = & [ "lsp" , "dap" ] ,
93
98
) ]
94
99
evaluate : Vec < String > ,
95
100
96
- #[ structopt( name = "FILE" , help = "Files to evaluate." ) ]
101
+ #[ structopt(
102
+ name = "FILE" ,
103
+ help = "Files to evaluate." ,
104
+ conflicts_with_all = & [ "lsp" , "dap" ] ,
105
+ ) ]
97
106
files : Vec < PathBuf > ,
98
107
}
99
108
You can’t perform that action at this time.
0 commit comments