Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
464a44f0
Commit
464a44f0
authored
Oct 09, 2017
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect usage of Arg.align, which caused --help to appear several times.
parent
4798fbca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
src/ide/why3ide.ml
src/ide/why3ide.ml
+1
-1
src/ide/why3web.ml
src/ide/why3web.ml
+1
-1
src/tools/why3shell.ml
src/tools/why3shell.ml
+1
-1
src/why3doc/doc_main.ml
src/why3doc/doc_main.ml
+1
-1
No files found.
src/ide/why3ide.ml
View file @
464a44f0
...
...
@@ -165,7 +165,7 @@ module Server = Itp_server.Make (Scheduler) (Protocol_why3ide)
let
files
:
string
Queue
.
t
=
Queue
.
create
()
let
opt_parser
=
ref
None
let
spec
=
Arg
.
align
[
let
spec
=
[
"-F"
,
Arg
.
String
(
fun
s
->
opt_parser
:=
Some
s
)
,
"<format> select input format (default:
\"
why
\"
)"
;
"--format"
,
Arg
.
String
(
fun
s
->
opt_parser
:=
Some
s
)
,
...
...
src/ide/why3web.ml
View file @
464a44f0
...
...
@@ -129,7 +129,7 @@ let files : string Queue.t = Queue.create ()
let
opt_parser
=
ref
None
let
spec
=
Arg
.
align
[
let
spec
=
[
"-F"
,
Arg
.
String
(
fun
s
->
opt_parser
:=
Some
s
)
,
"<format> select input format (default:
\"
why
\"
)"
;
"--format"
,
Arg
.
String
(
fun
s
->
opt_parser
:=
Some
s
)
,
...
...
src/tools/why3shell.ml
View file @
464a44f0
...
...
@@ -81,7 +81,7 @@ let send_request = Protocol_shell.send_request
(* files of the current task *)
let
files
=
Queue
.
create
()
let
spec
=
Arg
.
align
[]
let
spec
=
[]
(* --help *)
let
usage_str
=
Format
.
sprintf
...
...
src/why3doc/doc_main.ml
View file @
464a44f0
...
...
@@ -26,7 +26,7 @@ let opt_title = ref None
let
opt_body
=
ref
false
let
opt_queue
=
Queue
.
create
()
let
option_list
=
Arg
.
align
[
let
option_list
=
[
"-o"
,
Arg
.
String
(
fun
s
->
opt_output
:=
Some
s
)
,
"<dir> print files in <dir>"
;
"--output"
,
Arg
.
String
(
fun
s
->
opt_output
:=
Some
s
)
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment