-@REM @if "%1"=="" (goto build)\r
-@REM @if "%1"=="clean" (goto clean)\r
-@REM @if "%1"=="cleanall" (goto cleanall)\r
+set _ARGS= \r
+:check_arg\r
+if ""%1""=="""" goto arg_end\r
+if ""%1""==""-q"" goto ant_arg\r
+if ""%1""==""-v"" goto ant_arg\r
+if ""%1""==""-d"" goto ant_arg\r
+if ""%1""==""-e"" goto ant_arg\r
+if ""%1""==""-emacs"" goto ant_arg\r