Skip to content

Commit

Permalink
Squash to a single line of output
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 committed Nov 13, 2024
1 parent 2c009d0 commit 0d0631a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/msf/ui/console/command_dispatcher/modules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -906,9 +906,7 @@ def cmd_use(*args)
end

if framework.features.enabled?(Msf::FeatureManager::DISPLAY_MODULE_ACTION) && mod.actions.size > 1
print_status "This module has #{mod.actions.size} actions to select from"
print_status 'Display them all with the %grnshow actions%clr command'
print_status "The current action is set to %grn#{mod.action.name}%clr"
print_status "Using action %grn#{mod.action.name}%clr - view all #{mod.actions.size} actions with the %grnshow actions%clr command"
end

mod.init_ui(driver.input, driver.output)
Expand Down

0 comments on commit 0d0631a

Please sign in to comment.