mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
ADD: started with adding a "LS" command that lists the commands without the help text printed. To give easy clean list.
This commit is contained in:
parent
5b59bf20c7
commit
f445df401e
5 changed files with 26 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue