[66836] trunk/base/src/port/port.tcl
raimue at macports.org
raimue at macports.org
Fri Apr 23 03:23:33 PDT 2010
Revision: 66836
http://trac.macports.org/changeset/66836
Author: raimue at macports.org
Date: 2010-04-23 03:23:31 -0700 (Fri, 23 Apr 2010)
Log Message:
-----------
Make port select default to --list instead of --show
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2010-04-23 10:21:00 UTC (rev 66835)
+++ trunk/base/src/port/port.tcl 2010-04-23 10:23:31 UTC (rev 66836)
@@ -2302,11 +2302,11 @@
"one argument was specified. Defaulting to the " \
"'set' command..."]
# If no command (--set, --show, --list) is specified *and* less than two
- # argument are specified, default to the show command.
+ # argument are specified, default to the list command.
} elseif {[llength $commands] < 1} {
- set command show
+ set command list
ui_debug [concat "No command was specified. Defaulting to the " \
- "'show' command..."]
+ "'list' command..."]
# Only allow one command to be specified at a time.
} elseif {[llength $commands] > 1} {
ui_error [concat "Multiple commands were specified. Only one " \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100423/5237b8da/attachment.html>
More information about the macports-changes
mailing list