[前][次][番号順一覧][スレッド一覧]

ruby-changes:74495

From: Shohei <ko1@a...>
Date: Tue, 15 Nov 2022 08:39:50 +0900 (JST)
Subject: [ruby-changes:74495] 436aa6e64d (master): [rubygems/rubygems] Fix '--force' option documentation of 'bundle clean'

https://git.ruby-lang.org/ruby.git/commit/?id=436aa6e64d

From 436aa6e64df1164c1158210936f8f606f49cbb6b Mon Sep 17 00:00:00 2001
From: Shohei YOSHIDA <syohex@g...>
Date: Tue, 8 Nov 2022 21:30:14 +0900
Subject: [rubygems/rubygems] Fix '--force' option documentation of 'bundle
 clean'

'--path' option is no longer used.

https://github.com/rubygems/rubygems/commit/43b3d5f7bc
---
 lib/bundler/cli.rb                  | 2 +-
 lib/bundler/man/bundle-clean.1      | 2 +-
 lib/bundler/man/bundle-clean.1.ronn | 2 +-
 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 https://github.com/ruby/ruby/blob/trunk/lib/bundler/cli.rb#L620
     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\. https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-clean.1#L20
 .
 .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. https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-clean.1.ronn#L15
 * `--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.
-- 
cgit v1.2.3


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]