Changeset 15665 for trunk/base


Ignore:
Timestamp:
Jan 1, 2006, 3:24:48 PM (15 years ago)
Author:
olegb
Message:

Bug:
Submitted by:
Reviewed by:
Approved by: jmpp@
Obtained from:
Removal of -a

  • removed from port.tcl
  • removed from port(1)
Location:
trunk/base/src/port
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port/port.1

    r15506 r15665  
    3737.Sh SYNOPSIS
    3838.Nm
    39 .Op Fl vdqfonausbckt
     39.Op Fl vdqfonusbckt
    4040.Op Fl D Ar portdir
    4141.Ar action
     
    201201.It Fl n
    202202dont follow dependencies in upgrade (only for upgrading)
    203 .It Fl a
    204 upgrade all installed ports (only for upgrading)
    205203.It Fl u
    206204uninstall non-active ports when upgrading and uninstalling
     
    281279Upgrade the installed
    282280.Ar portname .
    283 To upgrade all ports, use
    284 .Fl a .
    285281For example:
    286282.Pp
    287283.Dl "port upgrade vim"
    288 .Dl "port -a upgrade"
     284.Pp
     285To upgrade all installed ports:
     286.Pp
     287.Dl "port upgrade installed"
    289288.Pp
    290289To upgrade
  • trunk/base/src/port/port.tcl

    r15616 r15665  
    33exec @TCLSH@ "$0" "$@"
    44# port.tcl
    5 # $Id: port.tcl,v 1.144 2005/12/29 02:34:36 olegb Exp $
     5# $Id: port.tcl,v 1.145 2006/01/01 15:24:48 olegb Exp $
    66#
    77# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
     
    139139proc print_usage args {
    140140        global cmdname
    141         set usage { [-vdqfonasbcktu] [-D portdir] action [actionflags]
     141        set usage { [-vdqfonsbcktu] [-D portdir] action [actionflags]
    142142[[portname|pseudo-portname|port-url] [@version] [+-variant]... [option=value]...]...
    143143}
     
    151151        global cmdname
    152152       
    153         set help { [-vdqfonasbcktu] [-D portdir] action [actionflags]
     153        set help { [-vdqfonsbcktu] [-D portdir] action [actionflags]
    154154[[portname|pseudo-portname|port-url] [@version] [+-variant]... [option=value]...]...
    155155       
     
    11181118                                o { set global_options(ports_ignore_older) yes  }
    11191119                                n { set global_options(ports_nodeps) yes                }
    1120                                 a { set global_options(port_upgrade_all) yes    }
    11211120                                u { set global_options(port_uninstall_old) yes  }
    11221121                                s { set global_options(ports_source_only) yes   }
     
    13511350       
    13521351        upgrade {
    1353         if {[info exists global_options(port_upgrade_all)] } {
    1354                         # if -a then upgrade all installed ports
    1355                         # (union these to any other ports user has in the port list)
    1356                         set portlist [opUnion $portlist [get_installed_ports]]
    1357         } else {
    1358                 # Otherwise if the user has supplied no ports we'll use the current port
    1359                         require_portlist
    1360         }
     1352        # Otherwise if the user has supplied no ports we'll use the current port
     1353                require_portlist
    13611354               
    13621355                foreachport $portlist {
Note: See TracChangeset for help on using the changeset viewer.