[NET] Move START, STATISTICS and STOP command syntax and help texts into a message...
[reactos.git] / base / applications / network / net / cmdStop.c
index 48e857a..dbb0cdd 100644 (file)
@@ -21,7 +21,7 @@ INT cmdStop(INT argc, WCHAR **argv)
     if (argc != 3)
     {
         ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
-        ConResPuts(StdOut, IDS_STOP_SYNTAX);
+        PrintNetMessage(MSG_STOP_SYNTAX);
         return 1;
     }
 
@@ -30,10 +30,8 @@ INT cmdStop(INT argc, WCHAR **argv)
         if (_wcsicmp(argv[i], L"/help") == 0)
         {
             ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
-            ConResPuts(StdOut, IDS_STOP_SYNTAX);
-            ConResPuts(StdOut, IDS_STOP_HELP_1);
-            ConResPuts(StdOut, IDS_STOP_HELP_2);
-            ConResPuts(StdOut, IDS_STOP_HELP_3);
+            PrintNetMessage(MSG_STOP_SYNTAX);
+            PrintNetMessage(MSG_STOP_HELP);
             return 1;
         }
     }