This commit is contained in:
Petr Korolev 2015-06-11 16:10:13 +03:00
parent 19eb03c54e
commit f7e9199841

View File

@ -13,7 +13,9 @@ module GitHubChangelogGenerator
parser.parse!
detect_user_and_project(options)
if options[:user].nil? || options[:project].nil?
detect_user_and_project(options)
end
if !options[:user] || !options[:project]
puts parser.banner