From 99460d1edab161081eded7f062cb230ab4c4419f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Tue, 10 Dec 2024 14:13:23 +0100 Subject: [PATCH] [rubygems/rubygems] Add missing banners to `bundle exec` CLI flags https://github.com/rubygems/rubygems/commit/c6f62b2eed --- lib/bundler/cli.rb | 4 ++-- 1 file 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