Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
9799803b
Commit
9799803b
authored
2 years ago
by
Virgile Prevosto
Committed by
Allan Blanchard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[wp] Fix msg output by Why3 when an unknown option is passed to -wp-why3-opt
parent
98caba53
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/Why3Provers.ml
+5
-1
5 additions, 1 deletion
src/plugins/wp/Why3Provers.ml
with
5 additions
and
1 deletion
src/plugins/wp/Why3Provers.ml
+
5
−
1
View file @
9799803b
...
...
@@ -41,8 +41,12 @@ let configure =
begin
fun
()
->
if
!
todo
then
begin
let
args
=
Array
.
of_list
(
"why3"
::
Wp_parameters
.
Why3Flags
.
get
()
)
in
let
commands
=
"why3"
::
Wp_parameters
.
Why3Flags
.
get
()
in
let
args
=
Array
.
of_list
commands
in
begin
try
(* Ensure that an error message generating directly by why3 is
reported as coming from Why3, not from Frama-C. *)
Why3
.
Getopt
.
commands
:=
commands
;
Why3
.
Getopt
.
parse_all
(
Why3
.
Debug
.
Args
.[
desc_debug
;
desc_debug_all
;
desc_debug_list
])
(
fun
opt
->
raise
(
Arg
.
Bad
(
"unknown option: "
^
opt
)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment