Skip to content

Commit

Permalink
Added --version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
drrb committed Feb 6, 2014
1 parent 24cbd72 commit ff64f44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Gitsu
# Copyright (C) 2013 drrb
# Copyright (C) 2014 drrb
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
3 changes: 2 additions & 1 deletion lib/gitsu/gitsu.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Gitsu
# Copyright (C) 2013 drrb
# Copyright (C) 2014 drrb
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -26,6 +26,7 @@ def initialize(switcher, output)
def go(args)
options = {}
optparse = OptionParser.new do |opts|
opts.version = GitSu::VERSION
opts.banner = <<-BANNER
Gitsu Copyright (C) 2013 drrb
This program comes with ABSOLUTELY NO WARRANTY.
Expand Down

0 comments on commit ff64f44

Please sign in to comment.