[57026] trunk/base/src/port/port.tcl

jmr at macports.org jmr at macports.org
Fri Sep 4 20:04:28 PDT 2009


Revision: 57026
          http://trac.macports.org/changeset/57026
Author:   jmr at macports.org
Date:     2009-09-04 20:04:23 -0700 (Fri, 04 Sep 2009)
Log Message:
-----------
slightly better error message when a pseudo-port expression matches nothing

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2009-09-05 02:53:52 UTC (rev 57025)
+++ trunk/base/src/port/port.tcl	2009-09-05 03:04:23 UTC (rev 57026)
@@ -335,7 +335,7 @@
     upvar $nameportlist portlist
 
     if {[llength $portlist] == 0 && (![info exists private_options(ports_no_args)] || $private_options(ports_no_args) == "no")} {
-        ui_error "No ports found"
+        ui_error "No ports matched the given expression"
         return 1
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090904/f307d410/attachment.html>


More information about the macports-changes mailing list