Merge pull request #11054 from wtgodbe/spacing
[platform/upstream/coreclr.git] / clean.cmd
index cdd00e7..42b9e59 100644 (file)
--- a/clean.cmd
+++ b/clean.cmd
@@ -1,4 +1,4 @@
-@if not defined __echo @echo off
+@if not defined _echo @echo off
 setlocal EnableDelayedExpansion
 
 echo Running clean.cmd
@@ -17,28 +17,28 @@ if [%1]==[] (
 :Loop
 if [%1]==[] goto Begin
 
-if /I [%1] == [/?] goto Usage
-if /I [%1] == [/help] goto Usage
+if /I [%1] == [-?] goto Usage
+if /I [%1] == [-help] goto Usage
 
-if /I [%1] == [/p] (
+if /I [%1] == [-p] (
     set packages=true
     set thisArgs=!thisArgs!%1
     goto Next
 )
 
-if /I [%1] == [/b] (
+if /I [%1] == [-b] (
     set bin=true
     set thisArgs=!thisArgs!%1
     goto Next
 )
 
-if /I [%1] == [/t] (
+if /I [%1] == [-t] (
     set tools=true
     set thisArgs=!thisArgs!%1
     goto Next
 )
 
-if /I [%1] == [/all] (
+if /I [%1] == [-all] (
     set tools=true
     set bin=true
     set packages=true
@@ -96,10 +96,10 @@ exit /b 0
 echo.
 echo Repository cleaning script.
 echo Options:
-echo     /b     - Cleans the bin directory
-echo     /p     - Cleans the packages directory
-echo     /t     - Cleans the tools directory
-echo     /all   - Cleans everything
+echo     -b     - Cleans the bin directory
+echo     -p     - Cleans the packages directory
+echo     -t     - Cleans the tools directory
+echo     -all   - Cleans everything
 echo.
-echo If no option is specified then clean.cmd /b /p /t is implied.
+echo If no option is specified then clean.cmd -b -p -t is implied.
 exit /b
\ No newline at end of file