Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/port/port.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,9 @@ proc action_info { action portlist opts } {
if {[info exists portinfo(categories)]} {
append inf " ([join $portinfo(categories) ", "])"
}
if {![catch {registry::installed $portinfo(name) {}}]} {
append inf " \[installed\]"
}
} elseif {$opt eq "fullname"} {
set inf "$portinfo(name) @"
append inf [composite_version $portinfo(version) $portinfo(active_variants)]
Expand Down Expand Up @@ -3839,6 +3842,9 @@ proc action_search { action portlist opts } {
if {[info exists portinfo(categories)]} {
puts -nonewline " ([join $portinfo(categories) ", "])"
}
if {![catch {registry::installed $portinfo(name) {}}]} {
puts -nonewline " \[installed\]"
}
puts ""
puts [wrap [join $portinfo(description)] 0 [string repeat " " 4]]
}
Expand Down