mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-24 16:14:59 +08:00
color
This commit is contained in:
parent
79515b40b9
commit
33f94612eb
1 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
local getopt = require('getopt')
|
local getopt = require('getopt')
|
||||||
local bin = require('bin')
|
local bin = require('bin')
|
||||||
local dumplib = require('html_dumplib')
|
local dumplib = require('html_dumplib')
|
||||||
|
local ansicolors = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = 'Iceman'
|
author = 'Iceman'
|
||||||
|
@ -15,8 +16,9 @@ example =[[
|
||||||
]]
|
]]
|
||||||
usage = [[
|
usage = [[
|
||||||
script run emul2dump [-i <file>] [-o <file>]
|
script run emul2dump [-i <file>] [-o <file>]
|
||||||
|
]]
|
||||||
|
|
||||||
Arguments:
|
arguments = [[
|
||||||
-h This help
|
-h This help
|
||||||
-i <filename> Specifies the dump-file (input). If omitted, 'dumpdata.eml' is used
|
-i <filename> Specifies the dump-file (input). If omitted, 'dumpdata.eml' is used
|
||||||
-o <filename> Specifies the output file. If omitted, <currdate>.bin is used.
|
-o <filename> Specifies the output file. If omitted, <currdate>.bin is used.
|
||||||
|
@ -43,9 +45,12 @@ local function help()
|
||||||
print(author)
|
print(author)
|
||||||
print(version)
|
print(version)
|
||||||
print(desc)
|
print(desc)
|
||||||
print('Example usage')
|
print(ansicolors.cyan..'Usage'..ansicolors.reset)
|
||||||
print(example)
|
|
||||||
print(usage)
|
print(usage)
|
||||||
|
print(ansicolors.cyan..'Arguments'..ansicolors.reset)
|
||||||
|
print(arguments)
|
||||||
|
print(ansicolors.cyan..'Example usage'..ansicolors.reset)
|
||||||
|
print(example)
|
||||||
end
|
end
|
||||||
--
|
--
|
||||||
-- Exit message
|
-- Exit message
|
||||||
|
|
Loading…
Reference in a new issue