mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-13 00:23:17 -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... }"},
|
{"lf", CmdLF, 1, "{ Low Frequency commands... }"},
|
||||||
{"reveng", CmdRev, 1, "Crc calculations from the software reveng 1.44"},
|
{"reveng", CmdRev, 1, "Crc calculations from the software reveng 1.44"},
|
||||||
{"script", CmdScript, 1, "{ Scripting commands }"},
|
{"script", CmdScript, 1, "{ Scripting commands }"},
|
||||||
{"quit", CmdQuit, 1, "Exit program"},
|
{"quit", CmdQuit, 1, ""},
|
||||||
{"exit", CmdQuit, 1, "Exit program"},
|
{"exit", CmdQuit, 1, "Exit program"},
|
||||||
{NULL, NULL, 0, NULL}
|
{NULL, NULL, 0, NULL}
|
||||||
};
|
};
|
||||||
|
|
|
@ -76,8 +76,7 @@ char pparent[512] = {0};
|
||||||
char *parent = pparent;
|
char *parent = pparent;
|
||||||
|
|
||||||
void dumpCommandsRecursive(const command_t cmds[], int markdown) {
|
void dumpCommandsRecursive(const command_t cmds[], int markdown) {
|
||||||
if (cmds[0].Name == NULL)
|
if (cmds[0].Name == NULL) return;
|
||||||
return;
|
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int w_cmd = 25;
|
int w_cmd = 25;
|
||||||
|
|
|
@ -69,7 +69,7 @@ struct receiver_arg {
|
||||||
int run;
|
int run;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__linux__) || (__APPLE__)
|
#if defined(__linux__)
|
||||||
static void showBanner(void){
|
static void showBanner(void){
|
||||||
printf("\n\n");
|
printf("\n\n");
|
||||||
printf("\e[34m██████╗ ███╗ ███╗ ████╗\e[0m ...iceman fork\n");
|
printf("\e[34m██████╗ ███╗ ███╗ ████╗\e[0m ...iceman fork\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue