Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use PATH_SEPARATOR instead of hard-coded colon:

  - better cross platform compatibility
  - closes #83
  • Loading branch information...
commit 601d38c9ec191f00059ef040940a4b6cf244c6ce 1 parent aaea6dd
@rsanheim rsanheim authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/rcov
View
4 bin/rcov
@@ -85,8 +85,8 @@ EOF
options.destdir = dir
end
- opts.on("-I", "--include PATHS", "Prepend PATHS to $: (colon separated list)") do |paths|
- options.loadpaths = paths.split(/:/)
+ opts.on("-I", "--include PATHS", "Prepend PATHS to the load-path variable ($:) (#{File::PATH_SEPARATOR} separated list)") do |paths|
+ options.loadpaths = paths.split(File::PATH_SEPARATOR)
end
opts.on("--[no-]comments", "Mark all comments by default.", "(default: --no-comments)") do |comments_run_p|
Please sign in to comment.
Something went wrong with that request. Please try again.