From 4c696885e464175729db74fde96c99fdd406e482 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 17 Apr 2021 23:18:13 +0200 Subject: [PATCH] typos --- client/src/cmddata.c | 8 ++++---- client/src/cmdlf.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/cmddata.c b/client/src/cmddata.c index d13363172..3b6a8164a 100644 --- a/client/src/cmddata.c +++ b/client/src/cmddata.c @@ -530,7 +530,7 @@ static int Cmdmandecoderaw(const char *Cmd) { CLIParserInit(&ctx, "data manrawdecode", "Manchester decode binary stream in DemodBuffer\n" "Converts 10 and 01 and converts to 0 and 1 respectively\n" - " - must have binary sequence in demodbuffer (run `data rawdemod ar` before)", + " - must have binary sequence in demodbuffer (run `data rawdemod --ar` before)", "data manrawdecode" ); void *argtable[] = { @@ -545,7 +545,7 @@ static int Cmdmandecoderaw(const char *Cmd) { CLIParserFree(ctx); if (DemodBufferLen == 0) { - PrintAndLogEx(WARNING, "DemodBuffer empty, run " _YELLOW_("`data rawdemod ar`")); + PrintAndLogEx(WARNING, "DemodBuffer empty, run " _YELLOW_("`data rawdemod --ar`")); return PM3_ESOFT; } @@ -612,7 +612,7 @@ static int CmdBiphaseDecodeRaw(const char *Cmd) { CLIParserInit(&ctx, "data biphaserawdecode", "Biphase decode binary stream in DemodBuffer\n" "Converts 10 or 01 -> 1 and 11 or 00 -> 0\n" - " - must have binary sequence in demodbuffer (run `data rawdemod ar` before)\n" + " - must have binary sequence in demodbuffer (run `data rawdemod --ar` before)\n" " - invert for Conditional Dephase Encoding (CDP) AKA Differential Manchester", "data biphaserawdecode --> decode biphase bitstream from the demodbuffer\n" "data biphaserawdecode -oi --> decode biphase bitstream from the demodbuffer, adjust offset, and invert output" @@ -631,7 +631,7 @@ static int CmdBiphaseDecodeRaw(const char *Cmd) { CLIParserFree(ctx); if (DemodBufferLen == 0) { - PrintAndLogEx(WARNING, "DemodBuffer empty, run " _YELLOW_("`data rawdemod ar`")); + PrintAndLogEx(WARNING, "DemodBuffer empty, run " _YELLOW_("`data rawdemod --ar`")); return PM3_ESOFT; } diff --git a/client/src/cmdlf.c b/client/src/cmdlf.c index c1d0e4bb1..c1875a78a 100644 --- a/client/src/cmdlf.c +++ b/client/src/cmdlf.c @@ -1472,15 +1472,15 @@ int CmdLFfind(const char *Cmd) { bool st = true; if (ASKDemod_ext(0, 0, 0, 0, false, true, false, 1, &st) == PM3_SUCCESS) { PrintAndLogEx(INFO, "Unknown ASK Modulated and Manchester encoded Tag found!"); - PrintAndLogEx(INFO, "if it does not look right it could instead be ASK/Biphase - try " _YELLOW_("'data rawdemod ab'")); + PrintAndLogEx(INFO, "if it does not look right it could instead be ASK/Biphase - try " _YELLOW_("'data rawdemod --ab'")); goto out; } if (CmdPSK1rawDemod("") == PM3_SUCCESS) { PrintAndLogEx(INFO, "Possible unknown PSK1 Modulated Tag found above!"); - PrintAndLogEx(INFO, " Could also be PSK2 - try " _YELLOW_("'data rawdemod p2'")); + PrintAndLogEx(INFO, " Could also be PSK2 - try " _YELLOW_("'data rawdemod --p2'")); PrintAndLogEx(INFO, " Could also be PSK3 - [currently not supported]"); - PrintAndLogEx(INFO, " Could also be NRZ - try " _YELLOW_("'data rawdemod nr")); + PrintAndLogEx(INFO, " Could also be NRZ - try " _YELLOW_("'data rawdemod --nr")); goto out; }