diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCmd.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCmd.cpp index 6fe21819..afcba38e 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCmd.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCmd.cpp @@ -570,7 +570,7 @@ UInt8 pfConsoleCmd::GetSigEntry( UInt8 i ) const char *pfConsoleCmd::GetSignature( void ) { - static char string[ 256 ]; + char string[ 256 ]; int i; char pStr[ 128 ]; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp index 4ec123a1..567af09d 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp @@ -752,7 +752,7 @@ public: if(strncmp("SampleCmd",c->GetName(), 9) != 0) { - fprintf(fFile, "

%s
%s

\n",c->GetSignature(), + fprintf(fFile, "

%s
%s

\n",c->GetSignature(), c->GetHelp()); } } @@ -760,10 +760,11 @@ public: { // if(g->GetFirstCommand() != nil) { - fprintf(fFile, "

Command %sGroup %s

\n", + fprintf(fFile, "

Command %sGroup %s

\n", (depth > 0) ? "3" : "2", (depth > 0) ? "Sub" :"" , - g->GetName()); + g->GetName(), + (depth > 0) ? "3" : "2"); } return true; } @@ -781,7 +782,7 @@ public: if(strncmp("SampleCmd",c->GetName(), 9) != 0) { - fprintf(fFile, "%s.%s - %s
\n",fGrpName,c->GetSignature(), + fprintf(fFile, "%s.%s - %s
\n",fGrpName,c->GetSignature(), c->GetHelp()); } } @@ -789,11 +790,14 @@ public: { // if(g->GetFirstCommand() != nil) { - fprintf(fFile, "
\n"); + fprintf(fFile, "
\n"); if(depth <1) strcpy(fGrpName, g->GetName()); else { + pfConsoleCmdGroup *parentGrp; + parentGrp = g->GetParent(); + strcpy(fGrpName, parentGrp->GetName()); strcat(fGrpName,"."); strcat(fGrpName,g->GetName()); } @@ -822,7 +826,7 @@ PF_CONSOLE_CMD( Console, CreateDocumentation, "string fileName", } - fprintf(f, "

Console Commands for Plasma 2.0 Client

Built %s on %s.

", + fprintf(f, "

Console Commands for Plasma 2.0 Client

Built %s on %s.

", pnBuildDates::fBuildTime, pnBuildDates::fBuildDate ); DocGenIterator iter(f); @@ -852,7 +856,7 @@ PF_CONSOLE_CMD( Console, CreateBriefDocumentation, "string fileName", return; } - fprintf(f, "

Console Commands for Plasma 2.0 Client

Built %s on %s.

", + fprintf(f, "

Console Commands for Plasma 2.0 Client

Built %s on %s.

", pnBuildDates::fBuildTime, pnBuildDates::fBuildDate ); BriefDocGenIterator iter(f); group = pfConsoleCmdGroup::GetBaseGroup();