[Xulu-commits] r8 - trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 25 22:16:14 CET 2009


Author: mojays
Date: 2009-02-25 22:16:13 +0100 (Wed, 25 Feb 2009)
New Revision: 8

Modified:
   trunk/initXulu.bat
Log:
changes in initXulu.bat

Modified: trunk/initXulu.bat
===================================================================
--- trunk/initXulu.bat	2009-02-25 20:26:41 UTC (rev 7)
+++ trunk/initXulu.bat	2009-02-25 21:16:13 UTC (rev 8)
@@ -5,7 +5,7 @@
 rem  to their expected location.
 rem 
 rem  The default behavior is only to copy not existing files. If you
-rem  want to completly reset you configuration (in case of a partially
+rem  want to completely reset you configuration (in case of a partially
 rem  deleted or damaged configuration) you can use the command parameter
 rem  "/reset" to overwrite all files with their default.
 rem
@@ -28,8 +28,10 @@
 
 setlocal
 
+rem *** Folder where to find the defaults ***
 set SOURCE_DIR=defaults
 
+if "%1"=="/?" goto help_mess
 rem *** Reset mode >> Overwrite without confirm ***
 if "%1"=="/init"  (set COPY_PARAM=/Y) else set COPY_PARAM=/-Y
 if "%1"=="/init" goto overwrite
@@ -38,6 +40,25 @@
 rem *** Default mode >> only copy not existing files ***
 goto no_overwrite
 
+rem ************************ Print help message ************************
+:help_mess
+echo.
+echo. "initXulu.bat [/update | /init | /reset]"
+echo.
+echo.  Initializes the XULU folder structure after the first checkout
+echo.  or after main releases (e.g. new plugins). The following options
+echo.  are available:
+echo.
+echo.    /update   Updates only not existing files
+echo.    /reset    Updates all files but prompts for overwrite
+echo.    /init     Updates all files WITHOUT prompting for overwrite
+echo.              Only recommended after a destroyed configuration
+echo.
+echo.  Default is: /update
+echo.
+goto finish
+
+
 rem ************************** Update routine **************************
 :no_overwrite
 echo.



More information about the Xulu-commits mailing list