lib/xcode/install/install.rb in xcode-install-0.9.5 vs lib/xcode/install/install.rb in xcode-install-0.9.6
- old
+ new
@@ -10,22 +10,20 @@
def self.options
[['--no-switch', 'Don’t switch to this version after installation'],
['--no-install', 'Only download DMG, but do not install it.'],
['--no-progress', 'Don’t show download progress.'],
- ['--no-install-components', 'Don’t install additional components.'],
['--no-clean', 'Don’t delete DMG after installation.']].concat(super)
end
def initialize(argv)
@installer = Installer.new
@version = argv.shift_argument
@should_clean = argv.flag?('clean', true)
@should_install = argv.flag?('install', true)
@should_switch = argv.flag?('switch', true)
@progress = argv.flag?('progress', true)
- @components = argv.flag?('components', true)
super
end
def validate!
super
@@ -36,10 +34,10 @@
end
def run
return if @version.nil?
@installer.install_version(@version, @should_switch, @should_clean, @should_install,
- @progress, @components)
+ @progress)
end
end
end
end