X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e8b07838ab6119cc3b90f48b51bd2b54eece94be..952f3dc78f331f952b9ce054d0119f7b1c1b2211:/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, }