X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/57c695563f1892ed8eb3d8841f70ccce9f01c53d..6f5dd6010ec48f56724029a414db1ee3594ab810:/client/cmdparser.c diff --git a/client/cmdparser.c b/client/cmdparser.c index c971092b..7c3c60cc 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -85,7 +85,6 @@ void dumpCommandsRecursive(const command_t cmds[]) int i = 0; char* tabulation = "###"; - char* offline = "N"; // First, dump all single commands, which are not a container for // other commands printf("command|offline|description\n"); @@ -93,6 +92,7 @@ void dumpCommandsRecursive(const command_t cmds[]) while (cmds[i].Name) { + char* offline = "N"; if(cmds[i].Help[0] == '{' && ++i) continue; if ( cmds[i].Offline) offline = "Y";