make it executable + man fix

This commit is contained in:
Petr Korolev 2014-11-06 18:59:06 +02:00
parent e26bb09e24
commit 66bebc1398
2 changed files with 1 additions and 1 deletions

0
bin/github_changelog_generator Normal file → Executable file
View File

View File

@ -6,7 +6,7 @@ class Parser
options = {:tag1 => nil, :tag2 => nil, :format => '%d/%m/%y'} options = {:tag1 => nil, :tag2 => nil, :format => '%d/%m/%y'}
parser = OptionParser.new { |opts| parser = OptionParser.new { |opts|
opts.banner = 'Usage: changelog_generator.rb -u user_name -p project_name [-t 16-digit-GitHubToken] [options]' opts.banner = 'Usage: changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]'
opts.on('-u', '--user [USER]', 'your username on GitHub') do |last| opts.on('-u', '--user [USER]', 'your username on GitHub') do |last|
options[:user] = last options[:user] = last
end end