]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/lualibs/default_toys.lua
Syntax suger, making the code easier to read (for me at least)
[proxmark3-svn] / client / lualibs / default_toys.lua
index 5a680a200be5d5757ef440368917498d0d698c87..cb603ec0c6d41812edc80fe0e918dcbe695860dc 100644 (file)
@@ -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,
 }
Impressum, Datenschutz