This commit is contained in:
Petr Korolev
2015-02-18 18:27:57 +02:00
parent 07073ea02c
commit 454bfb5a86
3 changed files with 104 additions and 86 deletions
+4 -1
View File
@@ -41,7 +41,10 @@ module GitHubChangelogGenerator
options[:filter_issues_by_milestone] = last
end
opts.on('--[no-]author', 'Add author of pull-request in the end. Default is true') do |author|
options[:last] = author
options[:author] = author
end
opts.on('--unreleased', 'Generate log from unreleased closed issues.') do |v|
options[:unreleased] = v
end
opts.on('--[no-]compare-link', 'Include compare link between older version and newer version. Default is true') do |v|
options[:compare_link] = v