diff --git a/client/scripts/formatMifare.lua b/client/scripts/formatMifare.lua index 44d5bb97a..35475db84 100644 --- a/client/scripts/formatMifare.lua +++ b/client/scripts/formatMifare.lua @@ -4,7 +4,7 @@ local bin = require('bin') local lib14a = require('read14a') local utils = require('utils') -example =[[ +example = [[ -- generate commands 1. script run formatMifare @@ -14,11 +14,13 @@ example =[[ -- generate commands and excute them against card. 3. script run formatMifare -x ]] -author = "Iceman" +copyright = '' +version = '' +author = 'Iceman' usage = [[ script run formatMifare -k -n -a -x ]] -desc =[[ +desc = [[ This script will generate 'hf mf wrbl' commands for each block to format a Mifare card. Alla datablocks gets 0x00 @@ -66,6 +68,9 @@ end --- -- Usage help function help() + print(copyright) + print(author) + print(version) print(desc) print("Example usage") print(example)