Merge pull request #8193 from Bo98/irb-comment

dev-cmd/irb: move comment
This commit is contained in:
Markus Reiter 2020-08-03 06:45:48 +02:00 committed by GitHub
commit beaf9420dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,6 @@ module Homebrew
module_function
def irb_args
# work around IRB modifying ARGV.
Homebrew::CLI::Parser.new do
usage_banner <<~EOS
`irb` [<options>]
@ -34,6 +33,7 @@ module Homebrew
end
def irb
# work around IRB modifying ARGV.
args = irb_args.parse(ARGV.dup.freeze)
if args.examples?