[NET]
[reactos.git] / reactos / base / applications / network / net / cmdStop.c
index 7938c28..ef30aae 100644 (file)
@@ -16,6 +16,7 @@ INT cmdStop(INT argc, WCHAR **argv)
     SERVICE_STATUS ServiceStatus;
     DWORD dwError = ERROR_SUCCESS;
     INT nError = 0;
+    INT i;
 
     if (argc != 3)
     {
@@ -23,6 +24,15 @@ INT cmdStop(INT argc, WCHAR **argv)
         return 1;
     }
 
+    for (i = 2; i < argc; i++)
+    {
+        if (_wcsicmp(argv[i], L"/help") == 0)
+        {
+            PrintResourceString(IDS_STOP_HELP);
+            return 1;
+        }
+    }
+
     hManager = OpenSCManagerW(NULL,
                               SERVICES_ACTIVE_DATABASE,
                               SC_MANAGER_ENUMERATE_SERVICE);