Add a Manual entry to the Lua menu.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 31 Jan 2011 21:13:20 +0000 (21:13 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 31 Jan 2011 21:13:20 +0000 (21:13 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35729 f5534014-38df-0310-8fa8-9805f1628bb7

epan/wslua/console.lua

index 416ce4a2ac4733fc2a1e662ce0ce056af625e898..ed8787dff634c0351a97c627a74f2b3aa875a149 100644 (file)
@@ -101,11 +101,16 @@ if (gui_enabled()) then
                info("Console opened")
        end
 
+       function ref_manual()
+               browser_open_url("http://www.wireshark.org/docs/wsug_html_chunked/wsluarm.html")
+       end
+       
        function wiki_page()
                browser_open_url("http://wiki.wireshark.org/Lua")
        end
 
        register_menu("Lua/Evaluate", evaluate_lua, MENU_TOOLS_UNSORTED)
        register_menu("Lua/Console", run_console, MENU_TOOLS_UNSORTED)
+       register_menu("Lua/Manual", ref_manual, MENU_TOOLS_UNSORTED)
        register_menu("Lua/Wiki", wiki_page, MENU_TOOLS_UNSORTED)
 end