mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 13:19:04 +00:00
Normalize tab.lua usage so that a call to tab.nextrow comes after (not
before) each group of tab.add, and there is no tab.nextrow before or after tab.addrow. Also remove manual indenting that was accomplished by padding the first column with spaces; this is done by stdnse.format_output now.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
-- tab.nextrow(t)
|
||||
-- tab.add(t, 1, 'BBBBBBBBB1')
|
||||
-- tab.add(t, 2, 'BBB2')
|
||||
-- tab.nextrow(t)
|
||||
-- tab.addrow(t, 'C1', 'C2')
|
||||
-- tab.dump(t)
|
||||
-- </code>
|
||||
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
|
||||
|
||||
Reference in New Issue
Block a user