mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +00:00
[NET] Move FILE, GROUP and HELP command syntax and help texts into a message table.
This commit is contained in:
parent
02e4ff8eb3
commit
e1824b5bd3
12 changed files with 431 additions and 276 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue