Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.

This commit is contained in:
Colin Finck 2017-10-03 07:45:34 +00:00
parent b94e2d8ca0
commit c2c66aff7d
24198 changed files with 0 additions and 37285 deletions

View file

@ -0,0 +1,162 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS net command
* FILE: base/applications/network/net/help.c
* PURPOSE:
*
* PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
*/
#include "net.h"
INT cmdHelp(INT argc, WCHAR **argv)
{
if (argc != 3)
{
ConResPuts(StdOut, IDS_HELP_SYNTAX);
return 0;
}
if (_wcsicmp(argv[2], L"ACCOUNTS") == 0)
{
ConResPuts(StdOut, IDS_ACCOUNTS_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"COMPUTER") == 0)
{
ConResPuts(StdOut, IDS_COMPUTER_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"CONFIG") == 0)
{
ConResPuts(StdOut, IDS_CONFIG_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"CONTINUE") == 0)
{
ConResPuts(StdOut, IDS_CONTINUE_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"FILE") == 0)
{
ConResPuts(StdOut, IDS_FILE_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"GROUP") == 0)
{
ConResPuts(StdOut, IDS_GROUP_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"HELPMSG") == 0)
{
ConResPuts(StdOut, IDS_HELPMSG_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"LOCALGROUP") == 0)
{
ConResPuts(StdOut, IDS_LOCALGROUP_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"NAME") == 0)
{
ConResPuts(StdOut, IDS_NAME_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"PAUSE") == 0)
{
ConResPuts(StdOut, IDS_PAUSE_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"PRINT") == 0)
{
ConResPuts(StdOut, IDS_PRINT_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"SEND") == 0)
{
ConResPuts(StdOut, IDS_SEND_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"SESSION") == 0)
{
ConResPuts(StdOut, IDS_SESSION_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"SHARE") == 0)
{
ConResPuts(StdOut, IDS_SHARE_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"START") == 0)
{
ConResPuts(StdOut, IDS_START_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"STATISTICS") == 0)
{
ConResPuts(StdOut, IDS_STATISTICS_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"STOP") == 0)
{
ConResPuts(StdOut, IDS_STOP_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"TIME") == 0)
{
ConResPuts(StdOut, IDS_TIME_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"USE") == 0)
{
ConResPuts(StdOut, IDS_USE_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"USER") == 0)
{
ConResPuts(StdOut, IDS_USER_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"VIEW") == 0)
{
ConResPuts(StdOut, IDS_VIEW_HELP);
return 0;
}
#if 0
if (_wcsicmp(argv[2], L"SERVICES") == 0)
{
return 0;
}
if (_wcsicmp(argv[2], L"SYNTAX") == 0)
{
return 0;
}
#endif
ConResPuts(StdOut, IDS_HELP_SYNTAX);
return 0;
}