summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorStan Lo <stan001212@gmail.com>2024-02-18 18:21:00 +0000
committergit <svn-admin@ruby-lang.org>2024-02-18 18:21:08 +0000
commit07c774e85cf0a3352c045ec3ae83db1215962997 (patch)
tree9d478ba5140bcdce2a8086c93a75d112e6ea5ae5 /test/ruby/test_lambda.rb
parent120c291fafd438e2bc58f098023c669dadc64b08 (diff)
[ruby/irb] Revamp `help` command
(https://github.com/ruby/irb/pull/877) * Make help command display help for individual commands Usage: `help [command]` If the command is not specified, it will display a list of all available commands. If the command is specified, it will display the banner OR description of the command. If the command is not found, it will display a message saying that the command is not found. * Rename test/irb/cmd to test/irb/command * Add banner to edit and ls commands * Promote help command in the help message 1. Make `show_cmds` an alias of `help` so it's not displayed in the help message 2. Update description of the help command to reflect `help <command>` syntax * Rename banner to help_message https://github.com/ruby/irb/commit/43a2c99f3f
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions