[RAPPS] Bulk install!
[reactos.git] / reactos / base / applications / sc / usage.c
index 118a07a..4bcf049 100644 (file)
@@ -33,7 +33,7 @@ VOID MainUsage(VOID)
     _T("\t  interrogate    : Sends a INTERROGATE control request to a service.\n")
     _T("\t  continue       : Sends a CONTINUE control request to a service.\n")
     _T("\t  stop           : Sends a STOP request to a service.\n")
-    _T("\t  config         : Changes the configuration of a service (persistant).\n")
+    _T("\t  config         : Changes the configuration of a service (persistent).\n")
     _T("\t  description    : Changes the description of a service.\n")
     _T("\t  failure        : Changes the actions taken by a service upon failure.\n")
     _T("\t  qc             : Queries the configuration information for a service.\n")
@@ -44,11 +44,11 @@ VOID MainUsage(VOID)
     _T("\t  control        : Sends a control to a service.\n")
     _T("\t  sdshow         : Displays a service's security descriptor.\n")
     _T("\t  sdset          : Sets a service's security descriptor.\n")
-    _T("\t  GetDisplayName : Gets the DisplayName for a service.\n"));
-//    "\t  GetKeyName     : Gets the ServiceKeyName for a service.\n")
-//    "\t  EnumDepend     : Enumerates Service Dependencies.\n")
+    _T("\t  GetDisplayName : Gets the DisplayName for a service.\n")
+    _T("\t  GetKeyName     : Gets the ServiceKeyName for a service.\n")
+    _T("\t  EnumDepend     : Enumerates Service Dependencies.\n"));
 //    "\n")
-//    "\tService Name Independant Commands:\n")
+//    "\tService Name Independent Commands:\n")
 //    "\t  boot           : (ok | bad) Indicates whether the last boot should\n")
 //    "\t                   be saved as the last-known-good boot configuration\n")
 //    "\t  Lock           : Locks the SCM Database\n")
@@ -266,7 +266,24 @@ VOID SetFailureUsage(VOID)
 VOID GetDisplayNameUsage(VOID)
 {
     _tprintf(_T("DESCRIPTION:\n")
-             _T("        Gets the display name associated with a particular service\n")
+             _T("        Gets the display name associated with a particular service.\n")
              _T("USAGE:\n")
              _T("        sc <server> GetDisplayName <service key name> <bufsize>\n"));
 }
+
+VOID GetKeyNameUsage(VOID)
+{
+    _tprintf(_T("DESCRIPTION:\n")
+             _T("        Gets the key name associated with a particular service, using the\n")
+             _T("        display name as input.\n")
+             _T("USAGE:\n")
+             _T("        sc <server> GetKeyName <service display name> <bufsize>\n"));
+}
+
+VOID EnumDependUsage(VOID)
+{
+    _tprintf(_T("DESCRIPTION:\n")
+             _T("        Enumerates te Services that are dependent on this one.\n")
+             _T("USAGE:\n")
+             _T("        sc <server> EnumDepend <service display name> <bufsize>\n"));
+}