[NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message table.

This commit is contained in:
Eric Kohl 2018-12-23 20:22:48 +01:00
parent d0b263f26f
commit 34e9290821
13 changed files with 565 additions and 377 deletions

View file

@ -20,7 +20,7 @@ INT cmdContinue(INT argc, WCHAR **argv)
if (argc != 3)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_CONTINUE_SYNTAX);
PrintNetMessage(MSG_CONTINUE_SYNTAX);
return 1;
}
@ -29,9 +29,8 @@ INT cmdContinue(INT argc, WCHAR **argv)
if (_wcsicmp(argv[i], L"/help") == 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
ConResPuts(StdOut, IDS_CONTINUE_SYNTAX);
ConResPuts(StdOut, IDS_CONTINUE_HELP_1);
ConResPuts(StdOut, IDS_CONTINUE_HELP_2);
PrintNetMessage(MSG_CONTINUE_SYNTAX);
PrintNetMessage(MSG_CONTINUE_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 1;
}