diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index dd733a22ed..18491b487b 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -414,10 +414,8 @@ module Bundler map %w[cache] => :package else desc "cache [OPTIONS]", "Cache all the gems to vendor/cache", :hide => true - unless Bundler.feature_flag.cache_command_is_package? - method_option "all", :type => :boolean, - :banner => "Include all sources (including path and git)." - end + method_option "all", :type => :boolean, + :banner => "Include all sources (including path and git)." method_option "all-platforms", :type => :boolean, :banner => "Include gems for all platforms present in the lockfile, not only the current one" method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache." def cache