Skip to content

Commit 76275a2

Browse files
committed
Minor style cleanup of help and a failure message
1 parent d0f1cd1 commit 76275a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/gather/hp_enum_perfd.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def initialize
2626
'License' => MSF_LICENSE
2727
)
2828

29-
commands_help = ALLOWED_COMMANDS.join(' ')
29+
commands_help = ALLOWED_COMMANDS.join(',')
3030
register_options(
3131
[
3232
Opt::RPORT(5227),
@@ -43,7 +43,7 @@ def setup
4343
if datastore['COMMANDS']
4444
bad_commands = commands - ALLOWED_COMMANDS
4545
unless bad_commands.empty?
46-
fail ArgumentError, "Bad perfd command(s) #{bad_commands}"
46+
fail ArgumentError, "Bad perfd command(s): #{bad_commands}"
4747
end
4848
end
4949
end

0 commit comments

Comments
 (0)