Skip to content

Commit

Permalink
Add --bug-report command line flag
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jan 1, 2024
1 parent 71b81b6 commit 27e4ee3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/julia/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ def yes_no_etc(*etc):
Enable or disable syntax and method deprecation warnings ("error"
turns warnings into errors).
bug_report: str
Launch a bug report session using BugReporting.jl.
Run `julia --bug-report=help` for more information.
inline: {True, False, 'yes', 'no'}
Control whether inlining is permitted, including overriding
@inline declarations.
Expand Down Expand Up @@ -168,6 +172,7 @@ class JuliaOptions(object):
compiled_modules = Choices("compiled_modules", yes_no_etc())
compile = Choices("compile", yes_no_etc("all", "min"))
depwarn = Choices("depwarn", yes_no_etc("error"))
bug_report = String("bug_report")
warn_overwrite = Choices("warn_overwrite", yes_no_etc())
min_optlevel = Choices("min_optlevel", dict(zip(range(4), map(str, range(4)))))
optimize = Choices("optimize", dict(zip(range(4), map(str, range(4)))))
Expand Down

0 comments on commit 27e4ee3

Please sign in to comment.