projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec8e8b
)
Restore original inline help behavior as we've now separate fcts for -h/-m
author
Philippe Teuwen
<phil@teuwen.org>
Wed, 26 Mar 2014 22:51:22 +0000
(23:51 +0100)
committer
Philippe Teuwen
<phil@teuwen.org>
Wed, 26 Mar 2014 22:51:22 +0000
(23:51 +0100)
client/cmdparser.c
patch
|
blob
|
blame
|
history
diff --git
a/client/cmdparser.c
b/client/cmdparser.c
index 3820de1769852ba5350998d8a277acee62246db3..845915f6450074d00b4c9853b248948a502b6a17 100644
(file)
--- a/
client/cmdparser.c
+++ b/
client/cmdparser.c
@@
-22,13
+22,8
@@
void CmdsHelp(const command_t Commands[])
int i = 0;
while (Commands[i].Name)
{
- if(Commands[i].Offline)
- {
- PrintAndLog("%-16s \t%s", Commands[i].Name, Commands[i].Help);
- }else
- {
- PrintAndLog("%-16s @\t%s", Commands[i].Name, Commands[i].Help);
- }
+ if (!offline || Commands[i].Offline)
+ PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help);
++i;
}
}
Impressum
,
Datenschutz