From 62e667e2eb3102dc91472ac547c2df616cf0027c Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 22 Jan 2018 21:31:34 +0000 Subject: [PATCH] Mark stdnse.format_output as deprecated --- nselib/stdnse.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nselib/stdnse.lua b/nselib/stdnse.lua index 7100370fd..4949e3927 100644 --- a/nselib/stdnse.lua +++ b/nselib/stdnse.lua @@ -783,7 +783,11 @@ local function format_output_sub(status, data, indent) return concat(output) end ----Takes a table of output on the commandline and formats it for display to the +---This function is deprecated. +-- +-- Please use structured NSE output instead: https://nmap.org/book/nse-api.html#nse-structured-output +-- +-- Takes a table of output on the commandline and formats it for display to the -- user. -- -- This is basically done by converting an array of nested tables into a