summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Barth <dougbarth@gmail.com>2012-05-10 16:41:36 -0500
committerTerence Lee <hone02@gmail.com>2012-05-24 04:01:08 -0500
commit978d0f51b30ecbd9183c3ecfab36f3ff0a67a923 (patch)
treee46b27be9e78930abf9f9b9f2ca8a0f9767b22d9
parentb2af3d251be6b6f2ff1f440aa1d30b19a2fe8c32 (diff)
downloadbundler-978d0f51b30ecbd9183c3ecfab36f3ff0a67a923.tar.gz
Fixing "bundle clean --force" banner.
The --force option was incorrectly stating that it forces a clean if --path IS set. It actually forces a clean if --path is NOT set.
-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 e47c1c1711..665f2365c7 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -573,7 +573,7 @@ module Bundler
desc "clean", "Cleans up unused gems in your bundler directory"
method_option "force", :type => :boolean, :default => false, :banner =>
- "forces clean even if --path is set"
+ "forces clean even if --path is not set"
def clean
if Bundler.settings[:path] || options[:force]
Bundler.load.clean