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

Add -alert option #416

Open
yawaramin opened this issue Feb 10, 2023 · 1 comment
Open

Add -alert option #416

yawaramin opened this issue Feb 10, 2023 · 1 comment

Comments

@yawaramin
Copy link

Like ocaml REPL:

$ ocaml -help
Usage: ocaml <options> <files>
Options are:

  -absname  Show absolute filenames in error messages
  -alert <list>  Enable or disable alerts according to <list>:
        +<alertname>  enable alert <alertname>
        -<alertname>  disable alert <alertname>
        ++<alertname> treat <alertname> as fatal error
        --<alertname> treat <alertname> as non-fatal
        @<alertname>  enable <alertname> and treat it as fatal error
    <alertname> can be 'all' to refer to all alert names
@emillon
Copy link
Collaborator

emillon commented Feb 22, 2023

Would you be interested in writing a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants