Skip to content

Commit 560f136

Browse files
committed
Add a debug flag to know what is happening
1 parent b87e595 commit 560f136

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

share/ruby-install/ruby-install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ function parse_options()
179179
force_update=1
180180
shift
181181
;;
182+
-d|--debug)
183+
set -x
184+
shift
185+
;;
182186
-V|--version)
183187
echo "ruby-install: $ruby_install_version"
184188
exit

0 commit comments

Comments
 (0)