mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
helptext colors
This commit is contained in:
parent
7d9c0ebc91
commit
3464dc2ebe
12 changed files with 110 additions and 59 deletions
|
@ -3,10 +3,11 @@
|
|||
getopt = require('getopt')
|
||||
bin = require('bin')
|
||||
dumplib = require('html_dumplib')
|
||||
local ansicolors = require('ansicolors')
|
||||
|
||||
copyright = ''
|
||||
author = 'Martin Holst Swende'
|
||||
version = 'v1.0.1'
|
||||
version = 'v1.0.2'
|
||||
desc = [[
|
||||
This script takes a dumpfile on EML (ASCII) format and produces a html based dump, which is a
|
||||
bit more easily analyzed.
|
||||
|
@ -16,8 +17,8 @@ example = [[
|
|||
]]
|
||||
usage = [[
|
||||
script run htmldump [-i <file>] [-o <file>]
|
||||
|
||||
Arguments:
|
||||
]]
|
||||
arguments = [[
|
||||
-h This help
|
||||
-i <file> Specifies the dump-file (input). If omitted, 'dumpdata.eml' is used
|
||||
-o <filename> Speciies the output file. If omitted, <curdate>.html is used.
|
||||
|
@ -54,9 +55,12 @@ local function help()
|
|||
print(author)
|
||||
print(version)
|
||||
print(desc)
|
||||
print('Example usage')
|
||||
print(example)
|
||||
print(ansicolors.cyan..'Usage'..ansicolors.reset)
|
||||
print(usage)
|
||||
print(ansicolors.cyan..'Arguments'..ansicolors.reset)
|
||||
print(arguments)
|
||||
print(ansicolors.cyan..'Example usage'..ansicolors.reset)
|
||||
print(example)
|
||||
end
|
||||
|
||||
local function main(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue