lf help text
This commit is contained in:
1 parent
ae6d69a337
commit
cabe121ca8
2 files changed
+12
-7
No files matched your search
@@ -168,7 +168,11 @@ void CmdsHelp(const command_t Commands[]) {
|
||||
while (Commands[i].Name) {
|
||||
if (Commands[i].IsAvailable()) {
|
||||
g_printAndLog = PRINTANDLOG_PRINT;
|
||||
PrintAndLogEx(NORMAL, _GREEN_("%-16s")" %s", Commands[i].Name, Commands[i].Help);
|
||||
if (Commands[i].Name[0] == '-' || Commands[i].Name[0] == ' ') {
|
||||
PrintAndLogEx(NORMAL, "%-16s %s", Commands[i].Name, Commands[i].Help);
|
||||
} else {
|
||||
PrintAndLogEx(NORMAL, _GREEN_("%-16s")" %s", Commands[i].Name, Commands[i].Help);
|
||||
}
|
||||
g_printAndLog = PRINTANDLOG_PRINT | PRINTANDLOG_LOG;
|
||||
}
|
||||
++i;
|
||||
|
||||
Reference in new issue
Block a user