From 436aa6e64df1164c1158210936f8f606f49cbb6b Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Tue, 8 Nov 2022 21:30:14 +0900 Subject: [PATCH] [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 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.