mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 03:03:14 +08:00
Fix offline column in help dump
This commit is contained in:
parent
57c695563f
commit
b5727175c0
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,6 @@ void dumpCommandsRecursive(const command_t cmds[])
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
char* tabulation = "###";
|
char* tabulation = "###";
|
||||||
char* offline = "N";
|
|
||||||
// First, dump all single commands, which are not a container for
|
// First, dump all single commands, which are not a container for
|
||||||
// other commands
|
// other commands
|
||||||
printf("command|offline|description\n");
|
printf("command|offline|description\n");
|
||||||
|
@ -93,6 +92,7 @@ void dumpCommandsRecursive(const command_t cmds[])
|
||||||
|
|
||||||
while (cmds[i].Name)
|
while (cmds[i].Name)
|
||||||
{
|
{
|
||||||
|
char* offline = "N";
|
||||||
if(cmds[i].Help[0] == '{' && ++i) continue;
|
if(cmds[i].Help[0] == '{' && ++i) continue;
|
||||||
|
|
||||||
if ( cmds[i].Offline) offline = "Y";
|
if ( cmds[i].Offline) offline = "Y";
|
||||||
|
|
Loading…
Reference in a new issue