Skip to content

Commit

Permalink
julia_cmd() docstring: include pkgimages (#48392)
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Feb 13, 2023
1 parent cc1c6a6 commit 4a75129
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ See also [`print`](@ref), [`println`](@ref), [`show`](@ref).
Return a julia command similar to the one of the running process.
Propagates any of the `--cpu-target`, `--sysimage`, `--compile`, `--sysimage-native-code`,
`--compiled-modules`, `--inline`, `--check-bounds`, `--optimize`, `--min-optlevel`, `-g`,
`--compiled-modules`, `--pkgimages`, `--inline`, `--check-bounds`, `--optimize`, `--min-optlevel`, `-g`,
`--code-coverage`, `--track-allocation`, `--color`, `--startup-file`, and `--depwarn`
command line arguments that are not at their default values.
Expand All @@ -151,6 +151,8 @@ Among others, `--math-mode`, `--warn-overwrite`, and `--trace-compile` are notab
!!! compat "Julia 1.9"
The keyword argument `cpu_target` was added.
The flag `--pkgimages` was added in Julia 1.9.
"""
function julia_cmd(julia=joinpath(Sys.BINDIR, julia_exename()); cpu_target::Union{Nothing,String} = nothing)
opts = JLOptions()
Expand Down

0 comments on commit 4a75129

Please sign in to comment.