[89466] trunk/base/src/port

jmr at macports.org jmr at macports.org
Mon Jan 30 12:54:34 PST 2012


Revision: 89466
          http://trac.macports.org/changeset/89466
Author:   jmr at macports.org
Date:     2012-01-30 12:54:31 -0800 (Mon, 30 Jan 2012)
Log Message:
-----------
remove explicit 'ed' alias of edit action, since abbreviations now work for all actions

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

Modified: trunk/base/src/port/port-help.tcl
===================================================================
--- trunk/base/src/port/port-help.tcl	2012-01-30 18:11:22 UTC (rev 89465)
+++ trunk/base/src/port/port-help.tcl	2012-01-30 20:54:31 UTC (rev 89466)
@@ -135,8 +135,6 @@
 Edit given ports
 }
 
-set porthelp(ed) $porthelp(edit)
-
 set porthelp(exit) {
 Exit port
 

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2012-01-30 18:11:22 UTC (rev 89465)
+++ trunk/base/src/port/port.tcl	2012-01-30 20:54:31 UTC (rev 89466)
@@ -3704,7 +3704,7 @@
                     close $f
                 }
                 
-                ed - edit {
+                edit {
                     # Edit the port's portfile with the user's editor
                     
                     # Restore our entire environment from start time.
@@ -4039,7 +4039,6 @@
     search      [list action_search         [ACTION_ARGS_STRINGS]] \
     list        [list action_list           [ACTION_ARGS_PORTS]] \
     \
-    ed          [list action_portcmds       [ACTION_ARGS_PORTS]] \
     edit        [list action_portcmds       [ACTION_ARGS_PORTS]] \
     cat         [list action_portcmds       [ACTION_ARGS_PORTS]] \
     dir         [list action_portcmds       [ACTION_ARGS_PORTS]] \
@@ -4155,7 +4154,6 @@
 global cmd_opts_array
 array set cmd_opts_array {
     edit        {{editor 1}}
-    ed          {{editor 1}}
     info        {category categories depends_fetch depends_extract
                  depends_build depends_lib depends_run
                  depends description epoch fullname heading homepage index license
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120130/e4c5189d/attachment.html>


More information about the macports-changes mailing list