cliparser cleaning

checked cmdhf.c and cmddata.c and tweaked cliparser.c
This commit is contained in:
mwalker33 2020-09-30 07:55:51 +10:00
commit 561c5f779e
3 changed files with 6 additions and 7 deletions

View file

@ -77,7 +77,7 @@ int CLIParserParseArg(CLIParserContext *ctx, int argc, char **argv, void *vargta
PrintAndLogEx(NORMAL,"");
if (ctx->programHelp) {
PrintAndLogEx(NORMAL,_SectionTagColor_("examples:"));
PrintAndLogEx(NORMAL,_SectionTagColor_("examples/notes:"));
char *buf = NULL;
int idx = 0;
buf = realloc (buf,strlen (ctx->programHelp)+1); // more then enough as we are splitting