From da8f725b2df6943832fad3f815af9e8c55f363a6 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Fri, 27 Mar 2015 12:08:53 +1100 Subject: [PATCH] Fix robocop issues with cli.rb --- lib/github_changelog_generator/cli.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/github_changelog_generator/cli.rb b/lib/github_changelog_generator/cli.rb index 7b274aa..3119cc6 100644 --- a/lib/github_changelog_generator/cli.rb +++ b/lib/github_changelog_generator/cli.rb @@ -23,13 +23,13 @@ module GitHubChangelogGenerator default_task :generate desc 'generate', 'Generates the CHANGELOG.md based on the given options' - option :user, :aliases => '-u', :type => :string, :desc => 'Username of the owner of target GitHub repo' - option :project, :aliases => '-p', :type => :string, :desc => 'Username of the owner of target GitHub repo' - option :token, :aliases => '-t', :type => :string, :desc => 'To make more than 50 requests per hour your GitHub token required. You can generate it here: https://github.com/settings/tokens/new' - option :issues_wo_labels, :type => :boolean, :default => true, :desc => 'Include closed issues without labels to changelog.' + option :user, aliases: '-u', type: :string, desc: 'Username of the owner of target GitHub repo' + option :project, aliases: '-p', type: :string, desc: 'Username of the owner of target GitHub repo' + option :token, aliases: '-t', type: :string, desc: 'To make more than 50 requests per hour your GitHub token required. You can generate it here: https://github.com/settings/tokens/new' + option :issues_wo_labels, type: :boolean, default: true, desc: 'Include closed issues without labels to changelog.' def generate print_table([['Project:', 'zanui/chef-thumbor'], ['Username:', 'estahn']]) end end -end \ No newline at end of file +end