You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: quint/src/cli.ts
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,8 +266,13 @@ const runCmd = {
266
266
type: 'string',
267
267
default: 'step',
268
268
})
269
+
.option('invariants',{
270
+
desc: 'space separated list of invariants to check (definition names). When specified, all invariants are combined with AND and checked together, with detailed reporting of which ones were violated',
271
+
type: 'array',
272
+
default: [],
273
+
})
269
274
.option('invariant',{
270
-
desc: 'invariant to check: a definition name or an expression',
275
+
desc: 'invariant to check: a definition name or an expression. Can be used together with --invariants',
271
276
type: 'string',
272
277
default: 'true',
273
278
})
@@ -318,6 +323,11 @@ const verifyCmd = {
318
323
desc: `Verify a Quint specification via Apalache`,
319
324
builder: (yargs: any)=>
320
325
compileOpts(yargs)
326
+
.option('invariants',{
327
+
desc: 'space separated list of invariants to check (definition names). When specified, all invariants are combined with AND and checked together, with detailed reporting of which ones were violated',
328
+
type: 'array',
329
+
default: [],
330
+
})
321
331
.option('out-itf',{
322
332
desc: 'output the trace in the Informal Trace Format to file, e.g., out.itf.json (suppresses all console output)',
0 commit comments