diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-16 11:59:39 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-09-18 18:26:32 +0900 |
commit | c92e098781470c84a497a1d430f425aca897f895 (patch) | |
tree | 56c2d9284cf0612445fb466d53a3d179e66f7c89 | |
parent | a29ead52e169cf702a61ba91cdf301a3bd87d713 (diff) | |
download | ruby-c92e098781470c84a497a1d430f425aca897f895.tar.gz |
[bundler/bundler] Fix --path option descriptions
To not mention that the flag is remembered when it's not.
https://github.com/bundler/bundler/commit/82f0b95854
-rw-r--r-- | lib/bundler/cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 9dadbece64..1d708248d8 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -207,7 +207,7 @@ module Bundler method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache." method_option "path", :type => :string, :banner => - "Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine" + "Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME).#{" Bundler will remember this value for future installs on this machine" unless Bundler.feature_flag.forget_cli_options?}" method_option "quiet", :type => :boolean, :banner => "Only output warnings and errors." method_option "shebang", :type => :string, :banner => @@ -424,7 +424,7 @@ module Bundler method_option "no-install", :type => :boolean, :banner => "Don't install the gems, only the package." method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache." method_option "path", :type => :string, :banner => - "Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine" + "Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME).#{" Bundler will remember this value for future installs on this machine" unless Bundler.feature_flag.forget_cli_options?}" method_option "quiet", :type => :boolean, :banner => "Only output warnings and errors." method_option "frozen", :type => :boolean, :banner => "Do not allow the Gemfile.lock to be updated after this package operation's install" |