Permalink
Browse files

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.
  • Loading branch information...
1 parent b2af3d2 commit 978d0f51b30ecbd9183c3ecfab36f3ff0a67a923 @dougbarth dougbarth committed with hone May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/cli.rb
View
@@ -573,7 +573,7 @@ def self.source_root
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

0 comments on commit 978d0f5

Please sign in to comment.