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
Original bug ID: 2889 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: henri df
Version: 3.07
OS:
Submission from: lcav1pc21.epfl.ch (128.178.8.161)
test.ml:
let f _ = () in
let spec = [("-bool", Arg.Bool f, "doc"); ("-float", Arg.Float f, "doc")] in
Arg.parse spec f ""
if i do:
ocaml test.ml -float
at the command line, i get an error message saying "option -float needs an
argument"
if i do
ocaml test.ml -bool, i get Invalid_argument "Array.get"
The text was updated successfully, but these errors were encountered:
Original bug ID: 2889
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: henri df
Version: 3.07
OS:
Submission from: lcav1pc21.epfl.ch (128.178.8.161)
test.ml:
let f _ = () in
let spec = [("-bool", Arg.Bool f, "doc"); ("-float", Arg.Float f, "doc")] in
Arg.parse spec f ""
if i do:
ocaml test.ml -float
at the command line, i get an error message saying "option -float needs an
argument"
if i do
ocaml test.ml -bool, i get Invalid_argument "Array.get"
The text was updated successfully, but these errors were encountered: