We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdfa8b8 commit ef487f6Copy full SHA for ef487f6
lib/msf/ui/console/command_dispatcher/core.rb
@@ -89,8 +89,7 @@ class Core
89
"-h" => [ false, "Help banner." ],
90
"-a" => [ false, "Show all commands in history." ],
91
"-n" => [ true, "Show the last n commands." ],
92
- "-u" => [ false, "Show only unique commands." ],
93
- "-c" => [ false, "Clear command history." ])
+ "-u" => [ false, "Show only unique commands." ])
94
95
@@irb_opts = Rex::Parser::Arguments.new(
96
@@ -503,9 +502,6 @@ def cmd_history(*args)
503
502
end
504
when "-u"
505
uniq = true
506
- when "-c"
507
- Readline::HISTORY.clear
508
- return
509
when "-h"
510
cmd_history_help
511
return false
0 commit comments