[NET] Move START, STATISTICS and STOP command syntax and help texts into a message table.

This commit is contained in:
Eric Kohl 2018-12-24 10:20:44 +01:00
parent 01af56140c
commit 4984e1b810
14 changed files with 331 additions and 182 deletions

View file

@ -265,7 +265,7 @@ cmdStatistics(
{
/* Print short syntax help */
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_STATISTICS_SYNTAX);
PrintNetMessage(MSG_STATISTICS_SYNTAX);
return 0;
}
@ -273,9 +273,8 @@ cmdStatistics(
{
/* Print full help text*/
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_STATISTICS_SYNTAX);
ConResPuts(StdOut, IDS_STATISTICS_HELP_1);
ConResPuts(StdOut, IDS_STATISTICS_HELP_2);
PrintNetMessage(MSG_STATISTICS_SYNTAX);
PrintNetMessage(MSG_STATISTICS_HELP);
return 0;
}
}