Skip to content

Commit

Permalink
Slight improvement to keep error output in line with other parts of t…
Browse files Browse the repository at this point in the history
…he code
  • Loading branch information
gwillcox-r7 committed Mar 19, 2021
1 parent 4382aee commit 19489c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/msf/ui/console/command_dispatcher/modules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ def cmd_search(*args)
end
elsif sort
print_error("Supported options for the -s flag are: #{sort_options}")
cmd_search_help
return false
end

Expand Down

0 comments on commit 19489c6

Please sign in to comment.