[ruby/irb] Improve help message for no meta commandsmaster
commitbd42f0898de26e8e6cb9930e0f5e309aacdeb705
authorStan Lo <stan001212@gmail.com>
Sat, 4 May 2024 03:32:31 +0000 (4 11:32 +0800)
committergit <svn-admin@ruby-lang.org>
Sat, 4 May 2024 03:32:34 +0000 (4 03:32 +0000)
tree2f7bc30d17feadac0b09a7f17770d6b3f67ccd9b
parentfb2ea7084f5755e92ff724165547d6dca77a5ed9
[ruby/irb] Improve help message for no meta commands
(https://github.com/ruby/irb/pull/948)

* Remove unnecessary code from command tests

* Improve help message for no meta commands

1. Add placeholder values for both command category and description
2. Update help command's output to give different types of categories
   more explicit ordering

https://github.com/ruby/irb/commit/b1ef58aeff
lib/irb/command/base.rb
lib/irb/command/help.rb
test/irb/command/test_custom_command.rb