From 9512f60227da2103bebee40186f77e1445dc8923 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 20 Feb 2018 20:20:34 +0100 Subject: [PATCH] chg: formatMifare.lua helptext output --- client/scripts/formatMifare.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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)