diff --git a/client/cmdmain.c b/client/cmdmain.c index 3fb618208..0f91942e7 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -55,7 +55,7 @@ static command_t CommandTable[] = { {"lf", CmdLF, 1, "{ Low Frequency commands... }"}, {"reveng", CmdRev, 1, "Crc calculations from the software reveng 1.44"}, {"script", CmdScript, 1, "{ Scripting commands }"}, - {"quit", CmdQuit, 1, "Exit program"}, + {"quit", CmdQuit, 1, ""}, {"exit", CmdQuit, 1, "Exit program"}, {NULL, NULL, 0, NULL} }; diff --git a/client/cmdparser.c b/client/cmdparser.c index df068dd8d..43c6d9c48 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -57,7 +57,7 @@ int CmdsParse(const command_t Commands[], const char *Cmd) { matches++; } } - if(matches == 1) i = last_match; + if (matches == 1) i = last_match; } if (Commands[i].Name) { @@ -76,8 +76,7 @@ char pparent[512] = {0}; char *parent = pparent; void dumpCommandsRecursive(const command_t cmds[], int markdown) { - if (cmds[0].Name == NULL) - return; + if (cmds[0].Name == NULL) return; int i = 0; int w_cmd = 25; diff --git a/client/proxmark3.c b/client/proxmark3.c index 810c18f86..3630e1acf 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -69,7 +69,7 @@ struct receiver_arg { int run; }; -#if defined(__linux__) || (__APPLE__) +#if defined(__linux__) static void showBanner(void){ printf("\n\n"); printf("\e[34m██████╗ ███╗ ███╗ ████╗\e[0m ...iceman fork\n");