Method: Externals::GitProject.fill_in_opts

Defined in:
lib/externals/scms/git_project.rb

.fill_in_opts(opts, main_options, sub_options, options) ⇒ Object



195
196
197
198
199
200
201
# File 'lib/externals/scms/git_project.rb', line 195

def self.fill_in_opts opts, main_options, sub_options, options
  opts.on("--git", "-g",
    Integer,
    *"same as '--scm git'  Uses git to
    checkout/export the main project".lines_by_width(options[:summary_width])
  ) {sub_options[:scm] = main_options[:scm] = 'git'}
end