Opened 17 years ago

Last modified 14 years ago

#12837 closed defect

port installed, port outdated always assume arguments given — at Initial Version

Reported by: rothpcs@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.6
Component: base Version: 1.6.0
Keywords: Cc:
Port:

Description

'port installed' with no arguments always returns "None of the specified ports are installed." A similar problem affects 'port outdated.'

Base sources checked out of subversion trunk today (10/02/2007). 'port version' gives 1.6.00 OS X 10.4.10 on MacBook Pro. Tcl is Apple's tcl, version 8.4.7.

Based on code inspection, problem might be that macports::global_options(ports_no_args) is not changed when process_cmd sets global_options(ports_no_args) to "yes". Consequently, in action_installed macports::global_options_isset test always causes restrictedList variable to be set.

Change History (0)

Note: See TracTickets for help on using tickets.