mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-16 01:21:15 +02:00
make help work the same in meterpreter as main console
git-svn-id: file:///home/svn/framework3/trunk@11690 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
13f7ad406a
commit
648214cad2
@ -179,15 +179,6 @@ class Console::CommandDispatcher::Core
|
||||
|
||||
alias cmd_quit cmd_exit
|
||||
|
||||
#
|
||||
# Displays the help menu.
|
||||
#
|
||||
def cmd_help(*args)
|
||||
print(shell.help_to_s)
|
||||
end
|
||||
|
||||
alias cmd_? cmd_help
|
||||
|
||||
#
|
||||
# Interacts with a channel.
|
||||
#
|
||||
|
@ -106,7 +106,7 @@ module DispatcherShell
|
||||
print_error("No help for #{cmd}, try -h") if cmd_found and not help_found
|
||||
print_error("No such command") if not cmd_found
|
||||
else
|
||||
print(driver.help_to_s)
|
||||
print(shell.help_to_s)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user