Skip to content

Commit

Permalink
julia_cmd() docstring: include pkgimages (#48392)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4a75129)
  • Loading branch information
fonsp authored and KristofferC committed Feb 21, 2023
1 parent 5e0cf3e commit d18b786
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`, `-g`,
`--compiled-modules`, `--pkgimages`, `--inline`, `--check-bounds`, `--optimize`, `-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 d18b786

Please sign in to comment.