pretty print for input options

This commit is contained in:
Petr Korolev 2014-11-19 12:46:28 +02:00
parent 062f3fd3f2
commit 865a364dff

View File

@ -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