lf cliparser stuff

This commit is contained in:
iceman1001 committed 2020-11-29 12:06:45 +01:00
1 parent 8cc9b3e637
commit 487524436c
7 files changed
+91 -20

No files matched your search

+12 -1
View File
@@ -170,7 +170,18 @@ int demodParadox(bool verbose) {
}
static int CmdParadoxDemod(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
CLIParserContext *ctx;
CLIParserInit(&ctx, "lf paradox demod",
"Try to find Paradox preamble, if found decode / descramble data",
"lf paradox demod"
);
void *argtable[] = {
arg_param_begin,
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
CLIParserFree(ctx);
return demodParadox(true);
}