diff options
-rw-r--r-- | tool/lib/vcs.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 00b6cb8591..b146dfe3aa 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -65,7 +65,8 @@ class VCS @@dirs << [dir, self, pred] end - def self.detect(path = '.', options = {}, parser = nil) + def self.detect(path = '.', options = {}, parser = nil, **opts) + options.update(opts) uplevel_limit = options.fetch(:uplevel_limit, 0) curr = path begin |