This commit is contained in:
Petr Korolev 2014-11-24 21:37:10 +02:00
parent 80cc3fc625
commit 8e5b4ed191

View File

@ -43,7 +43,7 @@ module GitHubChangelogGenerator
opts.on('--labels x,y,z', Array, 'Issues with that labels will be included to changelog. Default is \'bug,enhancement\'') do |list| opts.on('--labels x,y,z', Array, 'Issues with that labels will be included to changelog. Default is \'bug,enhancement\'') do |list|
options[:labels] = list options[:labels] = list
end end
opts.on('--filter-pull-requests x,y,z', Array, 'Pull requests only with that labels will be included to changelog.') do |list| opts.on('--labels-pr x,y,z', Array, 'Only pull requests with specified labels will be included to changelog. Default is nil') do |list|
options[:pull_request_labels] = list options[:pull_request_labels] = list
end end
opts.on('-v', '--version', 'Print version number') do |v| opts.on('-v', '--version', 'Print version number') do |v|