Skip to content

Commit

Permalink
version-commit: コマンドライン・IRCコマンド両方でのバージョン出力をコミット ID 月に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
koi-chan committed Jan 30, 2018
1 parent 3bdeda4 commit 92632ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rgrb/exec/irc_bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def new_bot(config, irc_adapters, plugin_options, log_level, logger)

# バージョン情報を返すコマンド
on(:message, '.version') do |m|
m.target.send("RGRB #{RGRB::VERSION}", true)
m.target.send("RGRB #{RGRB::VERSION_WITH_COMMIT_ID}", true)
end
end

Expand All @@ -173,7 +173,7 @@ def parse_options(argv)

OptionParser.new do |opt|
opt.banner = "使用法: #{opt.program_name} [オプション]"
opt.version = RGRB::VERSION
opt.version = RGRB::VERSION_WITH_COMMIT_ID

opt.summary_indent = ' ' * 2
opt.summary_width = 24
Expand Down

0 comments on commit 92632ab

Please sign in to comment.