From 865a364dffa1a85947d61b3f73c607383c4c8b3c Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Wed, 19 Nov 2014 12:46:28 +0200 Subject: [PATCH] pretty print for input options --- lib/github_changelog_generator/parser.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index 1bd08f8..edfa3ec 100644 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -54,6 +54,12 @@ module GitHubChangelogGenerator parser.parse! + if options[:verbose] + puts 'Input options:' + pp options + puts '' + end + #udefined case with 1 parameter: if ARGV[0] && !ARGV[1] puts parser.banner