aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2022-11-08 21:30:14 +0900
committergit <svn-admin@ruby-lang.org>2022-11-14 23:39:32 +0000
commit436aa6e64df1164c1158210936f8f606f49cbb6b (patch)
treeb0664c00c2724699e773b4507e3d85892b9a2f0e /lib/bundler
parent710c1ada8494859a6902c0baf8566d474c34ce32 (diff)
downloadruby-436aa6e64df1164c1158210936f8f606f49cbb6b.tar.gz
[rubygems/rubygems] Fix '--force' option documentation of 'bundle clean'
'--path' option is no longer used. https://github.com/rubygems/rubygems/commit/43b3d5f7bc
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--lib/bundler/man/bundle-clean.12
-rw-r--r--lib/bundler/man/bundle-clean.1.ronn2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 3ba4d0f8c4..fa5a3f1761 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -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
diff --git a/lib/bundler/man/bundle-clean.1 b/lib/bundler/man/bundle-clean.1
index f89ae3a1b0..36ce445e2d 100644
--- a/lib/bundler/man/bundle-clean.1
+++ b/lib/bundler/man/bundle-clean.1
@@ -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\.
diff --git a/lib/bundler/man/bundle-clean.1.ronn b/lib/bundler/man/bundle-clean.1.ronn
index de23991782..ebf70d3935 100644
--- a/lib/bundler/man/bundle-clean.1.ronn
+++ b/lib/bundler/man/bundle-clean.1.ronn
@@ -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.