some rubocop updates

This commit is contained in:
Andrew Waage
2016-10-20 11:49:02 -07:00
parent 15d0b63b45
commit 134d10bab0
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ module GitHubChangelogGenerator
# setup parsing options
def self.setup_parser(options)
parser = OptionParser.new do |opts|
parser = OptionParser.new do |opts| # rubocop:disable Metrics/BlockLength
opts.banner = "Usage: github_changelog_generator [options]"
opts.on("-u", "--user [USER]", "Username of the owner of target GitHub repo") do |last|
options[:user] = last