show help for aliased commands

This commit is contained in:
rmnull 2020-06-22 10:23:00 +05:30
parent 634c457129
commit d1b6a85819
No known key found for this signature in database
GPG Key ID: 35BAB82D31EFAD91

View File

@ -58,6 +58,7 @@ begin
help_flag = true help_flag = true
elsif !cmd && !help_flag_list.include?(arg) elsif !cmd && !help_flag_list.include?(arg)
cmd = ARGV.delete_at(i) cmd = ARGV.delete_at(i)
cmd = Commands::HOMEBREW_INTERNAL_COMMAND_ALIASES.fetch(cmd, cmd)
end end
end end