mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
syntax suger
This commit is contained in:
parent
fbc2bace4a
commit
719000b7f4
1 changed files with 12 additions and 15 deletions
|
@ -15,13 +15,10 @@
|
|||
#include "cmdparser.h"
|
||||
#include "proxmark3.h"
|
||||
|
||||
void CmdsHelp(const command_t Commands[])
|
||||
{
|
||||
if (Commands[0].Name == NULL)
|
||||
return;
|
||||
void CmdsHelp(const command_t Commands[]) {
|
||||
if (Commands[0].Name == NULL) return;
|
||||
int i = 0;
|
||||
while (Commands[i].Name)
|
||||
{
|
||||
while (Commands[i].Name) {
|
||||
if (!offline || Commands[i].Offline)
|
||||
PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help);
|
||||
++i;
|
||||
|
|
Loading…
Reference in a new issue