[NET] Move ACCOUNTS command syntax and help text into a message table.

This commit is contained in:
Eric Kohl 2018-12-23 16:47:16 +01:00
parent e16241255d
commit 7292af515d
17 changed files with 441 additions and 341 deletions

View file

@ -37,7 +37,7 @@ cmdAccounts(
{
/* Print short syntax help */
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_ACCOUNTS_SYNTAX);
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
return 0;
}
@ -45,17 +45,8 @@ cmdAccounts(
{
/* Print full help text*/
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_ACCOUNTS_SYNTAX);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_1);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_2);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_3);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_4);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_5);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_6);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_7);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_8);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_9);
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_10);
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
PrintNetMessage(MSG_ACCOUNTS_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}