[125621] trunk/base/src/port/port.tcl
jmr at macports.org
jmr at macports.org
Mon Sep 22 21:50:25 PDT 2014
Revision: 125621
https://trac.macports.org/changeset/125621
Author: jmr at macports.org
Date: 2014-09-22 21:50:25 -0700 (Mon, 22 Sep 2014)
Log Message:
-----------
print a warning when ports passed to the list action specify a version (this includes pseudo-portnames that refer to installed ports)
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2014-09-23 02:39:56 UTC (rev 125620)
+++ trunk/base/src/port/port.tcl 2014-09-23 04:50:25 UTC (rev 125621)
@@ -3805,6 +3805,10 @@
break_softcontinue "listing all ports failed: $result" 1 status
}
} else {
+ if {$portversion ne "" && ![info exists warned_for_version]} {
+ ui_warn "The 'list' action only shows the currently available version of each port. To see installed versions, use the 'installed' action."
+ set warned_for_version 1
+ }
set search_string [regex_pat_sanitize $portname]
if {[catch {set res [mportsearch ^$search_string\$ no]} result]} {
global errorInfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140922/45bc04d9/attachment.html>
More information about the macports-changes
mailing list