Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: [Caml-list] automatic extraction of mli file? #5909

Closed
vicuna opened this issue Oct 13, 2002 · 1 comment
Closed

Re: [Caml-list] automatic extraction of mli file? #5909

vicuna opened this issue Oct 13, 2002 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 13, 2002

Original bug ID: 1432
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Nicolas Cannasse wrote:

The "-i" ocamlc compiler flag is what you need.
It prints all the types found in the ML file.
But since there is no rule for interface exclusion, you have to maintain
separatly both ML & MLI files.

Hey folks, this option is undocumented!

$ ocaml --help 2>&1 | grep -e'-i'
$

@vicuna
Copy link
Author

vicuna commented Oct 13, 2002

Comment author: administrator

On Sunday, Oct 13, 2002, at 16:44 Europe/Paris, alex@baretta.com wrote:

Hey folks, this option is undocumented!

$ ocaml --help 2>&1 | grep -e'-i'
$

Since the ocaml compilers use the Arg module to parse their
command line, it is simply impossible to have an undocumented
command-line option (although some options are documented by
a rather terse "(undocumented)")

"-i" is not an option of ocaml (the toplevel), but it is
an option of ocamlc and ocamlopt (the compilers).

-- Damien

@vicuna vicuna closed this as completed Oct 14, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant