[63268] trunk/base/src/port/port.tcl
raimue at macports.org
raimue at macports.org
Sat Jan 30 20:06:10 PST 2010
Revision: 63268
http://trac.macports.org/changeset/63268
Author: raimue at macports.org
Date: 2010-01-30 20:06:08 -0800 (Sat, 30 Jan 2010)
Log Message:
-----------
port/port.tcl: 'port log' now correctly works without arguments, which means
using port in current directory.
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2010-01-31 04:01:47 UTC (rev 63267)
+++ trunk/base/src/port/port.tcl 2010-01-31 04:06:08 UTC (rev 63268)
@@ -1432,9 +1432,8 @@
proc action_log { action portlist opts } {
global global_options
#puts "$opts"
- if {[llength $portlist] == 0} {
- print_help
- return 0
+ if {[require_portlist portlist]} {
+ return 1
}
foreachport $portlist {
# If we have a url, use that, since it's most specific
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100130/c36c276a/attachment.html>
More information about the macports-changes
mailing list