Land #10421, Let `use` have help too!

4.x
Rob Fuller 2018-08-04 13:52:20 -07:00 committed by Metasploit
parent b42cf88276
commit a67938aab6
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ module Msf
# Uses a module.
#
def cmd_use(*args)
if (args.length == 0)
if args.length == 0 || args.first == '-h'
cmd_use_help
return false
end