diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3b97791..8059430 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -7,7 +7,7 @@ # Offense count: 13 Metrics/AbcSize: - Max: 73 + Enabled: false # Offense count: 1 Metrics/CyclomaticComplexity: diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index ea9abce..f06d452 100644 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -95,7 +95,7 @@ module GitHubChangelogGenerator opts.on("--[no-]compare-link", "Include compare link (Full Changelog) between older version and newer version. Default is true") do |v| options[:compare_link] = v end - opts.on("--include-labels x,y,z", Array, 'Only issues with the specified labels will be included in the changelog. Default is \'bug,enhancement\'') do |list| + opts.on("--include-labels x,y,z", Array, "Only issues with the specified labels will be included in the changelog.") do |list| options[:include_labels] = list end opts.on("--exclude-labels x,y,z", Array, 'Issues with the specified labels will be always excluded from changelog. Default is \'duplicate,question,invalid,wontfix\'') do |list|