summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-12-10 14:13:23 +0100
committergit <[email protected]>2024-12-11 17:56:21 +0000
commit99460d1edab161081eded7f062cb230ab4c4419f (patch)
treef147d63a61115d5ab63d7046fb2ff097e62bd1ab /lib
parent06f074eb5c8391a8694fdadbe5201cbb7d083117 (diff)
[rubygems/rubygems] Add missing banners to `bundle exec` CLI flags
https://github.com/rubygems/rubygems/commit/c6f62b2eed
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index a469cf23e1..ad75fb88e3 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -434,8 +434,8 @@ module Bundler
map aliases_for("cache")
desc "exec [OPTIONS]", "Run the command in context of the bundle"
- method_option :keep_file_descriptors, type: :boolean, default: true
- method_option :gemfile, type: :string, required: false
+ method_option :keep_file_descriptors, type: :boolean, default: true, banner: "Passes all file descriptors to the new processes. Default is true, and setting it to false is deprecated"
+ method_option :gemfile, type: :string, required: false, banner: "Use the specified gemfile instead of Gemfile"
long_desc <<-D
Exec runs a command, providing it access to the gems in the bundle. While using
bundle exec you can require and call the bundled gems as if they were installed