Fix help text for hf iclass esetblk

This commit is contained in:
nvx 2023-08-23 02:43:18 +10:00
commit bc87615008

View file

@ -1225,16 +1225,13 @@ static int CmdHFiClassEView(const char *Cmd) {
static int CmdHFiClassESetBlk(const char *Cmd) { static int CmdHFiClassESetBlk(const char *Cmd) {
CLIParserContext *ctx; CLIParserContext *ctx;
CLIParserInit(&ctx, "hf iclass esetblk", CLIParserInit(&ctx, "hf iclass esetblk",
"Display emulator memory.\n" "Sets an individual block in emulator memory.",
"Number of bytes to download defaults to 256. Other value is 2048.", "hf iclass esetblk -b 7 -d 0000000000000000");
"hf iclass eview\n"
"hf iclass eview -s 2048\n"
"hf iclass eview -s 2048 -v");
void *argtable[] = { void *argtable[] = {
arg_param_begin, arg_param_begin,
arg_int1("b", "blk", "<dec>", "block number"), arg_int1("b", "blk", "<dec>", "block number"),
arg_str0("d", "data", "<hex>", "bytes to write, 16 hex bytes"), arg_str0("d", "data", "<hex>", "bytes to write, 8 hex bytes"),
arg_param_end arg_param_end
}; };
CLIExecWithReturn(ctx, Cmd, argtable, true); CLIExecWithReturn(ctx, Cmd, argtable, true);