X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3ad48540d4d77f50cc62d16acb78f17019ef431d..7838f4beba79370f94c7a3de2cf34278f5d481c8:/client/cmdparser.c diff --git a/client/cmdparser.c b/client/cmdparser.c index 6910e86a..ae67466a 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -28,6 +28,18 @@ void CmdsHelp(const command_t Commands[]) } } +void CmdsLS(const command_t Commands[]) +{ + if (Commands[0].Name == NULL) return; + int i = 0; + while (Commands[i].Name) + { + if (!offline || Commands[i].Offline) + PrintAndLog("%-16s", Commands[i].Name); + ++i; + } +} + void CmdsParse(const command_t Commands[], const char *Cmd) { if(strcmp( Cmd, "XX_internal_command_dump_XX") == 0)