cmd update:
[reactos.git] / reactos / subsys / system / cmd / cmdtable.c
index 269246c..6e9fa30 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include "precomp.h"
+#include "resource.h"
 
 
 /* a list of all the internal commands, associating their command names */
@@ -28,6 +29,7 @@ COMMAND cmds[] =
 {
        {_T("?"), 0, CommandShowCommands},
 
+
 #ifdef INCLUDE_CMD_ACTIVATE
        {_T("activate"), 0, CommandActivate},
 #endif
@@ -113,6 +115,8 @@ COMMAND cmds[] =
 
        {_T("goto"), CMD_BATCHONLY, cmd_goto},
 
+       {_T("help"), 0, CommandShowCommandsDetail},
+
 #ifdef FEATURE_HISTORY
        {_T("history"), 0, CommandHistory},
 #endif
@@ -256,4 +260,10 @@ VOID PrintCommandList (VOID)
                ConOutChar ('\n');
 }
 
+VOID PrintCommandListDetail (VOID)
+{
+       ConOutResPuts(STRING_HELP1);
+       ConOutResPuts(STRING_HELP2);
+}
+
 /* EOF */