Skip to content

Commit 4e678e4

Browse files
David MaloneyDavid Maloney
authored andcommitted
fix help table
there was a bad class refernece here that needed to be cleaned up MS-1875
1 parent 1384c04 commit 4e678e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rex/ui/text/dispatcher_shell.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: binary -*-
22
require 'rex/ui'
33
require 'pp'
4+
require 'rex/text/table'
45

56
module Rex
67
module Ui
@@ -201,7 +202,7 @@ def help_to_s(opts={})
201202
return "" if commands.nil? or commands.length == 0
202203

203204
# Display the commands
204-
tbl = Table.new(
205+
tbl = Rex::Text::Table.new(
205206
'Header' => "#{self.name} Commands",
206207
'Indent' => opts['Indent'] || 4,
207208
'Columns' =>

0 commit comments

Comments
 (0)