Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Fixing "bundle clean --force" banner.
Browse files Browse the repository at this point in the history
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
dougbarth authored and hone committed May 24, 2012
1 parent b2af3d2 commit 978d0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Expand Up @@ -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
Expand Down

0 comments on commit 978d0f5

Please sign in to comment.