Ticket #33064: base-action_active_inactive.diff
File base-action_active_inactive.diff, 2.2 KB (added by anddam (Andrea D'Amore), 13 years ago) |
---|
-
src/port/port.tcl
3075 3075 } 3076 3076 3077 3077 3078 proc action_inactive { action portlist opts } { 3079 action_echo "$action" "[get_inactive_ports]" "$opts" 3080 3081 return 0 3082 } 3083 3084 3085 proc action_active { action portlist opts } { 3086 action_echo "$action" "[get_active_ports]" "$opts" 3087 3088 return 0 3089 } 3090 3091 3078 3092 proc action_outdated { action portlist opts } { 3079 3093 global private_options 3080 3094 set status 0 … … 4027 4041 uninstall [list action_uninstall [ACTION_ARGS_PORTS]] \ 4028 4042 \ 4029 4043 installed [list action_installed [ACTION_ARGS_PORTS]] \ 4044 inactive [list action_inactive [ACTION_ARGS_NONE]] \ 4045 active [list action_active [ACTION_ARGS_NONE]] \ 4030 4046 outdated [list action_outdated [ACTION_ARGS_PORTS]] \ 4031 4047 contents [list action_contents [ACTION_ARGS_PORTS]] \ 4032 4048 space [list action_space [ACTION_ARGS_PORTS]] \ -
src/port/port-help.tcl
13 13 --no-exec Do not execute any stored pre- or post-activate procedures 14 14 } 15 15 16 set porthelp(active) { 17 List name and version of active ports 18 } 19 16 20 set porthelp(archive) { 17 21 Archive the given ports, i.e. install the port image but do not activate 18 22 } … … 188 192 List installed versions of the given port, or all installed ports if no port is given 189 193 } 190 194 195 set porthelp(inactive) { 196 List name and version of inactive ports 197 } 198 191 199 set porthelp(lint) { 192 200 Checks if the Portfile is lint-free for each of the given ports 193 201 } -
doc/port.1
427 427 If no 428 428 .Ar portname 429 429 is given, all installed ports are shown. 430 .Ss active 431 Show name and versions for all active ports. 432 .Ss inactive 433 Show name and versions for all inactive ports. 430 434 .Ss location 431 435 Print the install location of a given port. 432 436 .Ss contents