lib/irb/command/help.rb in irb-1.14.0 vs lib/irb/command/help.rb in irb-1.14.1
- old
+ new
@@ -37,10 +37,10 @@
output = StringIO.new
help_cmds = commands_grouped_by_categories.delete("Help")
no_category_cmds = commands_grouped_by_categories.delete("No category")
- aliases = irb_context.instance_variable_get(:@user_aliases).map do |alias_name, target|
+ aliases = irb_context.instance_variable_get(:@command_aliases).map do |alias_name, target|
{ display_name: alias_name, description: "Alias for `#{target}`" }
end
# Display help commands first
add_category_to_output("Help", help_cmds, output, longest_cmd_name_length)