[NET]
[reactos.git] / reactos / base / applications / network / net / help.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS net command
4 * FILE: base/applications/network/net/help.c
5 * PURPOSE:
6 *
7 * PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
8 */
9
10 #include "net.h"
11
12 INT cmdHelp(INT argc, WCHAR **argv)
13 {
14 if (argc != 3)
15 {
16 PrintResourceString(IDS_HELP_SYNTAX);
17 return 0;
18 }
19
20 if (_wcsicmp(argv[2],L"ACCOUNTS") == 0)
21 {
22 PrintResourceString(IDS_ACCOUNTS_HELP);
23 return 0;
24 }
25
26 if (_wcsicmp(argv[2],L"COMPUTER") == 0)
27 {
28 PrintResourceString(IDS_COMPUTER_HELP);
29 return 0;
30 }
31
32 if (_wcsicmp(argv[2],L"CONFIG") == 0)
33 {
34 PrintResourceString(IDS_CONFIG_HELP);
35 return 0;
36 }
37
38 if (_wcsicmp(argv[2],L"CONTINUE") == 0)
39 {
40 PrintResourceString(IDS_CONTINUE_HELP);
41 return 0;
42 }
43
44 if (_wcsicmp(argv[2],L"FILE") == 0)
45 {
46 PrintResourceString(IDS_FILE_HELP);
47 return 0;
48 }
49
50 if (_wcsicmp(argv[2],L"GROUP") == 0)
51 {
52 PrintResourceString(IDS_GROUP_HELP);
53 return 0;
54 }
55
56 if (_wcsicmp(argv[2],L"HELPMSG") == 0)
57 {
58 PrintResourceString(IDS_HELPMSG_HELP);
59 return 0;
60 }
61
62 if (_wcsicmp(argv[2],L"LOCALGROUP") == 0)
63 {
64 PrintResourceString(IDS_LOCALGROUP_HELP);
65 return 0;
66 }
67
68 if (_wcsicmp(argv[2],L"NAME") == 0)
69 {
70 PrintResourceString(IDS_NAME_HELP);
71 return 0;
72 }
73
74 if (_wcsicmp(argv[2],L"PAUSE") == 0)
75 {
76 PrintResourceString(IDS_PAUSE_HELP);
77 return 0;
78 }
79
80 if (_wcsicmp(argv[2],L"PRINT") == 0)
81 {
82 PrintResourceString(IDS_PRINT_HELP);
83 return 0;
84 }
85
86 if (_wcsicmp(argv[2],L"SEND") == 0)
87 {
88 PrintResourceString(IDS_SEND_HELP);
89 return 0;
90 }
91
92 if (_wcsicmp(argv[2],L"SESSION") == 0)
93 {
94 PrintResourceString(IDS_SESSION_HELP);
95 return 0;
96 }
97
98 if (_wcsicmp(argv[2],L"SHARE") == 0)
99 {
100 PrintResourceString(IDS_SHARE_HELP);
101 return 0;
102 }
103
104 if (_wcsicmp(argv[2],L"START") == 0)
105 {
106 PrintResourceString(IDS_START_HELP);
107 return 0;
108 }
109
110 if (_wcsicmp(argv[2],L"STATISTICS") == 0)
111 {
112 PrintResourceString(IDS_STATISTICS_HELP);
113 return 0;
114 }
115
116 if (_wcsicmp(argv[2],L"STOP") == 0)
117 {
118 PrintResourceString(IDS_STOP_HELP);
119 return 0;
120 }
121
122 if (_wcsicmp(argv[2],L"TIME") == 0)
123 {
124 PrintResourceString(IDS_TIME_HELP);
125 return 0;
126 }
127
128 if (_wcsicmp(argv[2],L"USE") == 0)
129 {
130 PrintResourceString(IDS_USE_HELP);
131 return 0;
132 }
133
134 if (_wcsicmp(argv[2],L"USER") == 0)
135 {
136 PrintResourceString(IDS_USER_HELP);
137 return 0;
138 }
139
140 if (_wcsicmp(argv[2],L"VIEW") == 0)
141 {
142 PrintResourceString(IDS_VIEW_HELP);
143 return 0;
144 }
145
146 #if 0
147 if (_wcsicmp(argv[2],L"SERVICES") == 0)
148 {
149 return 0;
150 }
151
152 if (_wcsicmp(argv[2],L"SYNTAX") == 0)
153 {
154 return 0;
155 }
156 #endif
157
158 PrintResourceString(IDS_HELP_SYNTAX);
159
160 return 0;
161 }
162