[rubygems/rubygems] Fix '--force' option documentation of 'bundle clean'

'--path' option is no longer used.

https://github.com/rubygems/rubygems/commit/43b3d5f7bc
This commit is contained in:
Shohei YOSHIDA 2022-11-08 21:30:14 +09:00 committed by git
parent 710c1ada84
commit 436aa6e64d
3 changed files with 3 additions and 3 deletions

View File

@ -620,7 +620,7 @@ module Bundler
method_option "dry-run", :type => :boolean, :default => false, :banner =>
"Only print out changes, do not clean gems"
method_option "force", :type => :boolean, :default => false, :banner =>
"Forces clean even if --path is not set"
"Forces clean even if system location is used"
def clean
require_relative "cli/clean"
Clean.new(options.dup).run

View File

@ -20,5 +20,5 @@ Print the changes, but do not clean the unused gems\.
.
.TP
\fB\-\-force\fR
Force a clean even if \fB\-\-path\fR is not set\.
Force a clean even if system location is used\.

View File

@ -15,4 +15,4 @@ useful when you have made many changes to your gem dependencies.
* `--dry-run`:
Print the changes, but do not clean the unused gems.
* `--force`:
Force a clean even if `--path` is not set.
Force a clean even if system location is used.