X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e8b07838ab6119cc3b90f48b51bd2b54eece94be..e98572a1e2dde603f31cc06f330c6abd295139de:/client/lualibs/default_toys.lua diff --git a/client/lualibs/default_toys.lua b/client/lualibs/default_toys.lua index 5a680a20..cb603ec0 100644 --- a/client/lualibs/default_toys.lua +++ b/client/lualibs/default_toys.lua @@ -363,7 +363,15 @@ local function find( main, sub) end return nil end +local function list() + print ("Type\tSub\tElement\tGame Name") + print (string.rep('=', 54)) + for k, v in pairs(_names) do + print(("%s\t%s\t%s\t%-9s\t%s"):format(v[2],v[3],v[4], v[5], v[6] )) + end +end return { Find = find, + List = list, }