diff --git a/client/deps/cliparser/cliparser.c b/client/deps/cliparser/cliparser.c index 16a276d72..095d93c96 100644 --- a/client/deps/cliparser/cliparser.c +++ b/client/deps/cliparser/cliparser.c @@ -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 diff --git a/client/deps/cliparser/cliparser.h b/client/deps/cliparser/cliparser.h index 86ed21977..51c2ed8d5 100644 --- a/client/deps/cliparser/cliparser.h +++ b/client/deps/cliparser/cliparser.h @@ -14,7 +14,7 @@ #include #include "util.h" -#define arg_param_begin arg_lit0("hH", "help", "This help") +#define arg_param_begin arg_lit0("h", "help", "This help") #define arg_param_end arg_end(20) #define arg_getsize(a) (sizeof(a) / sizeof(a[0])) diff --git a/client/src/cmddata.c b/client/src/cmddata.c index de0e4a78a..34574a72f 100644 --- a/client/src/cmddata.c +++ b/client/src/cmddata.c @@ -2264,15 +2264,14 @@ static int CmdDataNDEF(const char *Cmd) { CLIParserContext *ctx; CLIParserInit(&ctx, "data ndef", "Decode and print NFC Data Exchange Format (NDEF)", - "Samples:\n" - _YELLOW_("\tdata ndef -d 9101085402656e48656c6c6f5101085402656e576f726c64\n") - _YELLOW_("\tdata ndef -d 0103d020240203e02c040300fe\n") + "data ndef -d 9101085402656e48656c6c6f5101085402656e576f726c64\n" + "data ndef -d 0103d020240203e02c040300fe\n" ); void *argtable[] = { arg_param_begin, - arg_strx0("dD", "data", "", "NDEF data to decode"), - arg_lit0("vV", "verbose", "verbose mode"), + arg_strx0("d", "data", "", "NDEF data to decode"), + arg_lit0("v", "verbose", "verbose mode"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, false);