lib/autoproj/cli/cache.rb in autoproj-2.0.0.b1 vs lib/autoproj/cli/cache.rb in autoproj-2.0.0.b2
- old
+ new
@@ -16,15 +16,17 @@
return File.expand_path(argv.first, ws.root_dir), options
end
def run(cache_dir, options = Hash.new)
options = Kernel.validate_options options,
- keep_going: false
+ keep_going: false,
+ checkout_only: false
initialize_and_load
+ finalize_setup
cache_op = Autoproj::Ops::Cache.new(cache_dir, ws.manifest)
- cache_op.create_or_update(options[:keep_going])
+ cache_op.create_or_update(options)
end
end
end
end