summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-15 19:31:10 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-15 20:38:41 +0200
commit4df9edef95d3aff0e932daf6050d47ecd2420759 (patch)
treeb8386214004d73869bd8ec0bee362976025858dd /lib/bundler/cli.rb
parent8cdd6c37e64824bb71eafeca3c1c2331a618ba80 (diff)
downloadbundler-4df9edef95d3aff0e932daf6050d47ecd2420759.tar.gz
Fix incorrect flag usage
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 18491b487b..ef818e12e9 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -425,7 +425,7 @@ module Bundler
end
desc "#{Bundler.feature_flag.cache_command_is_package? ? :cache : :package} [OPTIONS]", "Locks and then caches all of the gems into vendor/cache"
- unless Bundler.feature_flag.cache_command_is_package?
+ unless Bundler.feature_flag.cache_all?
method_option "all", :type => :boolean,
:banner => "Include all sources (including path and git)."
end