Skip to content

Commit c31107c

Browse files
fonspKristofferC
authored andcommitted
julia_cmd() docstring: include pkgimages (#48392)
(cherry picked from commit 4a75129)
1 parent 3a396d3 commit c31107c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

base/util.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ See also [`print`](@ref), [`println`](@ref), [`show`](@ref).
137137
138138
Return a julia command similar to the one of the running process.
139139
Propagates any of the `--cpu-target`, `--sysimage`, `--compile`, `--sysimage-native-code`,
140-
`--compiled-modules`, `--inline`, `--check-bounds`, `--optimize`, `-g`,
140+
`--compiled-modules`, `--pkgimages`, `--inline`, `--check-bounds`, `--optimize`, `-g`,
141141
`--code-coverage`, `--track-allocation`, `--color`, `--startup-file`, and `--depwarn`
142142
command line arguments that are not at their default values.
143143
@@ -151,6 +151,8 @@ Among others, `--math-mode`, `--warn-overwrite`, and `--trace-compile` are notab
151151
152152
!!! compat "Julia 1.9"
153153
The keyword argument `cpu_target` was added.
154+
155+
The flag `--pkgimages` was added in Julia 1.9.
154156
"""
155157
function julia_cmd(julia=joinpath(Sys.BINDIR, julia_exename()); cpu_target::Union{Nothing,String} = nothing)
156158
opts = JLOptions()

0 commit comments

Comments
 (0)