mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
rem - now uses cliparser'
This commit is contained in:
parent
fccef24aea
commit
aa5d72a7a6
1 changed files with 13 additions and 0 deletions
|
@ -162,6 +162,19 @@ static int CmdAuto(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int CmdRem(const char *Cmd) {
|
int CmdRem(const char *Cmd) {
|
||||||
|
CLIParserContext *ctx;
|
||||||
|
CLIParserInit(&ctx, "rem",
|
||||||
|
"Add a text line in log file",
|
||||||
|
"rem"
|
||||||
|
);
|
||||||
|
|
||||||
|
void *argtable[] = {
|
||||||
|
arg_param_begin,
|
||||||
|
arg_param_end
|
||||||
|
};
|
||||||
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
char buf[22] = {0};
|
char buf[22] = {0};
|
||||||
AppendDate(buf, sizeof(buf), NULL);
|
AppendDate(buf, sizeof(buf), NULL);
|
||||||
PrintAndLogEx(NORMAL, "%s remark: %s", buf, Cmd);
|
PrintAndLogEx(NORMAL, "%s remark: %s", buf, Cmd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue