cmd update:
[reactos.git] / reactos / subsys / system / cmd / cmdtable.c
index 7087a7d..6e9fa30 100644 (file)
  *        Unicode ready!
  */
 
-#include "config.h"
+#include "precomp.h"
+#include "resource.h"
 
-#include <windows.h>
-#include <tchar.h>
-
-#include "cmd.h"
 
 /* a list of all the internal commands, associating their command names */
 /* to the functions to process them                                     */
@@ -32,6 +29,7 @@ COMMAND cmds[] =
 {
        {_T("?"), 0, CommandShowCommands},
 
+
 #ifdef INCLUDE_CMD_ACTIVATE
        {_T("activate"), 0, CommandActivate},
 #endif
@@ -117,7 +115,9 @@ COMMAND cmds[] =
 
        {_T("goto"), CMD_BATCHONLY, cmd_goto},
 
-#ifdef FEATURE_HISTORY 
+       {_T("help"), 0, CommandShowCommandsDetail},
+
+#ifdef FEATURE_HISTORY
        {_T("history"), 0, CommandHistory},
 #endif
 
@@ -260,4 +260,10 @@ VOID PrintCommandList (VOID)
                ConOutChar ('\n');
 }
 
+VOID PrintCommandListDetail (VOID)
+{
+       ConOutResPuts(STRING_HELP1);
+       ConOutResPuts(STRING_HELP2);
+}
+
 /* EOF */