Skip to content

Commit be7ffc9

Browse files
Dillon KormanTod Beardsley
authored andcommitted
Bring in rapid7#5027 for only a couple edits
Switching from " to ' is usually more trouble than it's worth, even if it's more technically correct. The original PR had a great example of that kind of error, where you accidentally screw up an interior apostraphe. [See rapid7#5027]
1 parent 7697ff1 commit be7ffc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msfvenom

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ require 'msf/core/payload_generator'
2828

2929
# Creates a new framework object.
3030
#
31-
# @note Ignores any previously cached value
31+
# @note Ignores any previously cached value.
3232
# @param (see ::Msf::Simple::Framework.create)
3333
# @return [Msf::Framework]
3434
def init_framework(create_opts={})
@@ -66,7 +66,7 @@ require 'msf/core/payload_generator'
6666
end
6767
end
6868

69-
opt.on('-l', '--list [module_type]', Array, 'List a module type example: payloads, encoders, nops, all') do |l|
69+
opt.on('-l', '--list [module_type]', Array, 'List a module type. Options are: payloads, encoders, nops, all') do |l|
7070
if l.nil? or l.empty?
7171
l = ["all"]
7272
end

0 commit comments

Comments
 (0)