Skip to content

Commit 2e3912d

Browse files
fix a couple of missed compat -> outdated replaces from #2284 (#2710)
1 parent 44d1db0 commit 2e3912d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Operations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,7 @@ function print_status(env::EnvCache, old_env::Union{Nothing,EnvCache}, registrie
18751875
end
18761876

18771877
latest_version = true
1878-
# Compat info
1878+
# Outdated info
18791879
cinfo = nothing
18801880
if outdated
18811881
if diff == false && !is_stdlib(new.uuid)
@@ -1886,7 +1886,7 @@ function print_status(env::EnvCache, old_env::Union{Nothing,EnvCache}, registrie
18861886
end
18871887
end
18881888
end
1889-
# if we are running with compat, only show packages that are upper bounded
1889+
# if we are running with outdated, only show packages that are upper bounded
18901890
if outdated && latest_version
18911891
continue
18921892
end

src/REPLMode/command_declarations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ includes the recursive dependencies of added packages given in the manifest.
365365
If there are any packages listed as arguments the output will be limited to those packages.
366366
The `--diff` option will, if the environment is in a git repository, limit
367367
the output to the difference as compared to the last git commit.
368-
The `--compat` option in addition show if some packages are not at their latest version
368+
The `--outdated` option in addition show if some packages are not at their latest version
369369
and what packages are holding them back.
370370
371371
!!! compat "Julia 1.1"
@@ -375,7 +375,7 @@ and what packages are holding them back.
375375
The `--diff` option requires at least Julia 1.3. In earlier versions `--diff`
376376
is the default for environments in git repositories.
377377
378-
!!! compat "Julia 1.8"
378+
!!! compat "Julia 1.8"
379379
The `--outdated` option requires at least Julia 1.8.
380380
""",
381381
],

test/new.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2162,7 +2162,7 @@ end
21622162
Pkg.status("FooBar"; io=io, mode=Pkg.PKGMODE_MANIFEST, diff=true)
21632163
@test occursin(r"No Matches in diff for `.+Manifest.toml`", readline(io))
21642164
end
2165-
# Compat API
2165+
# Outdated API
21662166
isolate(loaded_depot=true) do
21672167
Pkg.Registry.add(Pkg.RegistrySpec[], io=devnull) # load reg before io capturing
21682168
Pkg.add("Example"; io=devnull)

0 commit comments

Comments
 (0)