mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-12 16:13:16 -07:00
chg: remove double exit text
chg: escape chars didn't work on apple
This commit is contained in:
parent
9ba8655953
commit
c72548562e
3 changed files with 4 additions and 5 deletions
|
@ -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}
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue