summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenta Murata <mrkn@mrkn.jp>2013-10-30 22:50:02 +0900
committerTerence Lee <hone02@gmail.com>2013-11-09 18:39:51 -0500
commit5fb282a6018541a8a4d1251fd459282d7e10af47 (patch)
treeeaf8c3620d8297d376b1cc114d700e4d3c512872
parentc01928f8b4a44f6aa939f674b73bb13b26f5cba6 (diff)
downloadbundler-5fb282a6018541a8a4d1251fd459282d7e10af47.tar.gz
Add --jobs option for update command
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index b0a7241fde..4549b54dcb 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -302,6 +302,8 @@ module Bundler
"Only output warnings and errors."
method_option "full-index", :type => :boolean, :banner =>
"Use the rubygems modern index instead of the API endpoint"
+ method_option "jobs", :aliases => "-j", :type => :numeric, :banner =>
+ "Specify the number of jobs to run in parallel"
def update(*gems)
sources = Array(options[:source])
Bundler.ui.level = "warn" if options[:quiet]