[PATCH] cmd: Add help info for xcopy

Christian Costa titan.costa at wanadoo.fr
Fri Sep 9 02:16:51 CDT 2011


---
 programs/cmd/builtins.c |    3 ++-
 programs/cmd/cmd.rc     |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 9c4f72a..7122301 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -68,7 +68,8 @@ static const WCHAR parmNoY[] = {'/','-','Y','\0'};
 static const WCHAR nullW[] = {'\0'};
 
 const WCHAR externals[][10] = {
-        {'A','T','T','R','I','B','\0'}
+        {'A','T','T','R','I','B','\0'},
+        {'X','C','O','P','Y','\0'}
 };
 
 /**************************************************************************
diff --git a/programs/cmd/cmd.rc b/programs/cmd/cmd.rc
index 4a074e1..d48820c 100644
--- a/programs/cmd/cmd.rc
+++ b/programs/cmd/cmd.rc
@@ -283,6 +283,7 @@ TITLE\t\tSet the window title for the CMD session\n\
 TYPE\t\tType the contents of a text file\n\
 VER\t\tShow the current version of CMD\n\
 VOL\t\tShow the volume label of a disk device\n\
+XCOPY\t\tCopies source files or directory trees to a destination\n\
 EXIT\t\tClose down CMD\n\n\
 Enter HELP <command> for further information on any of the above commands.\n"
 




More information about the wine-patches mailing list