From 46782176fc6af10c082d4eaf2e45689d9517be19 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 26 Mar 2014 23:51:22 +0100 Subject: [PATCH] Restore original inline help behavior as we've now separate fcts for -h/-m --- client/cmdparser.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/client/cmdparser.c b/client/cmdparser.c index 3820de17..845915f6 100644 --- 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; } } -- 2.39.2