From 862a338feb0d2aeb657f04e8e1c3d8a33eea71b2 Mon Sep 17 00:00:00 2001 From: YoungJules Date: Sat, 25 Jul 2026 19:39:23 +0200 Subject: [PATCH] hf legic: rename repeat fill to fill --- client/src/cmdhflegic.c | 8 ++++---- doc/commands.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/cmdhflegic.c b/client/src/cmdhflegic.c index f5d67f194..f81748670 100644 --- a/client/src/cmdhflegic.c +++ b/client/src/cmdhflegic.c @@ -818,13 +818,13 @@ static int CmdLegicWrbl(const char *Cmd) { "Write data to a LEGIC Prime tag. It autodetects tagsize to ensure proper write", "hf legic wrbl -o 0 -d 11223344 -> Write 0x11223344 starting from offset 0)\n" "hf legic wrbl -o 10 -d DEADBEEF -> Write 0xdeadbeef starting from offset 10\n" - "hf legic wrbl -o 35 --repeat 00 -> Repeat 0x00 from offset 35 to end"); + "hf legic wrbl -o 35 --fill 00 -> Fill 0x00 from offset 35 to end"); void *argtable[] = { arg_param_begin, arg_int1("o", "offset", "", "offset in data array to start writing"), arg_str0("d", "data", "", "data to write"), - arg_str0("r", "repeat", "", "repeat byte to write from offset to end of card"), + arg_str0(NULL, "fill", "", "fill byte to write from offset to end of card"), arg_lit0(NULL, "danger", "Auto-confirm dangerous operations"), arg_param_end }; @@ -858,12 +858,12 @@ static int CmdLegicWrbl(const char *Cmd) { CLIParserFree(ctx); if (has_data && has_fill) { - PrintAndLogEx(WARNING, "Use either --data or --repeat, not both"); + PrintAndLogEx(WARNING, "Use either --data or --fill, not both"); return PM3_EINVARG; } if (!has_data && !has_fill) { - PrintAndLogEx(WARNING, "Either --data or --repeat is required"); + PrintAndLogEx(WARNING, "Either --data or --fill is required"); return PM3_EINVARG; } diff --git a/doc/commands.md b/doc/commands.md index 140a2e87d..6d7430a17 100644 --- a/doc/commands.md +++ b/doc/commands.md @@ -592,7 +592,7 @@ Check column "offline" for their availability. |`hf legic clone `|N |`Clone a LEGIC Prime dump to a new MCC or different tag` |`hf legic migrate `|N |`Clone a LEGIC Prime dump to a tag; DCF stays opt-in` |`hf legic wipe `|N |`Wipe a LEGIC Prime tag` -|`hf legic wrbl `|N |`Write data to a LEGIC Prime tag (supports --repeat fill)` +|`hf legic wrbl `|N |`Write data to a LEGIC Prime tag (supports --fill)` |`hf legic sim `|N |`Start tag simulator` |`hf legic eload `|N |`Upload file into emulator memory` |`hf legic esave `|N |`Save emulator memory to file`