lib/xcode/install/list.rb in xcode-install-2.2.1 vs lib/xcode/install/list.rb in xcode-install-2.3.0

- old
+ new

@@ -3,25 +3,15 @@ class List < Command self.command = 'list' self.summary = 'List Xcodes available for download.' def self.options - [['--all', 'Show all available versions.']].concat(super) + [['--all', 'Show all available versions. (Default, Deprecated)']].concat(super) end - def initialize(argv) - @all = argv.flag?('all', false) - super - end - def run installer = XcodeInstall::Installer.new - - if @all - puts installer.list - else - puts installer.list_current - end + puts installer.list end end end end