mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ifchange: --debug option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d34e50570c
commit
4695019a1c
2 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,9 @@ until [ $# -eq 0 ]; do
|
|||
--color=*)
|
||||
color=`expr \( "$1" : '[^=]*=\(.*\)' \)`
|
||||
;;
|
||||
--debug)
|
||||
set -x
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
|
|
|
@ -35,6 +35,10 @@ if "%opt%" == "--timestamp" (
|
|||
set color=%opt:~8%
|
||||
shift
|
||||
goto :optloop
|
||||
) else if "%opt%" == "--debug" (
|
||||
shift
|
||||
echo on
|
||||
goto :optloop
|
||||
)
|
||||
if "%opt%" == "" goto :end
|
||||
|
||||
|
|
Loading…
Reference in a new issue