[NET] Move FILE, GROUP and HELP command syntax and help texts into a message table.

This commit is contained in:
Eric Kohl 2018-12-23 21:41:27 +01:00
parent 02e4ff8eb3
commit e1824b5bd3
12 changed files with 431 additions and 276 deletions

View file

@ -223,14 +223,8 @@ cmdGroup(
if (_wcsicmp(argv[i], L"/help") == 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_GROUP_SYNTAX);
ConResPuts(StdOut, IDS_GROUP_HELP_1);
ConResPuts(StdOut, IDS_GROUP_HELP_2);
ConResPuts(StdOut, IDS_GROUP_HELP_3);
ConResPuts(StdOut, IDS_GROUP_HELP_4);
ConResPuts(StdOut, IDS_GROUP_HELP_5);
ConResPuts(StdOut, IDS_GROUP_HELP_6);
ConResPuts(StdOut, IDS_GROUP_HELP_7);
PrintNetMessage(MSG_GROUP_SYNTAX);
PrintNetMessage(MSG_GROUP_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@ -358,7 +352,7 @@ done:
if (result != 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_GROUP_SYNTAX);
PrintNetMessage(MSG_GROUP_SYNTAX);
}
return result;